- 27 Jan, 2012 30 commits
-
-
jsm28 authored
* gcc.pot: Regenerate. libcpp/po: * cpplib.pot: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183634 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/52020 * tree-sra.c (sra_modify_assign): Do not transform clobbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183633 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* ipa-pure-const.c (check_stmt): Clobbers do not make a function non-const/pure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183632 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/50444 * tree-sra.c (build_ref_for_offset): Properly adjust the MEM_REF type for unaligned accesses. * gcc.dg/torture/pr50444.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183630 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/50444 * expr.c (mem_ref_refers_to_non_mem_p): New function. (expand_assignment): Use it. Properly handle misaligned bases when expanding stores to component references. (expand_expr_real_1): Use mem_ref_refers_to_non_mem_p and refactor that case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183629 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183628 138bc75d-0d04-0410-961f-82ee72b054a4
-
abel authored
* tree-parloops.c: Likewise. * sel-sched-ir.h: Likewise. * tree-data-ref.h: Likewise. * tree-predcom.c: Likewise. * Makefile.in: Likewise. * params.def: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183627 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/52016 * resolve.c (resolve_formal_arglist): Fix elemental constraint checks for polymorphic dummies also for pointers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183625 138bc75d-0d04-0410-961f-82ee72b054a4
-
abel authored
* Makefile.in (tree-data-ref.o): Depend on $(PARAMS_H). * tree-data-ref.h (find_data_references_in_loop): Remove declaration. * tree-data-ref.c (find_data_references_in_loop): Make static. (compute_all_dependences): Change return type to bool. Bail out for too many datarefs in a loop. Move the hunk resetting the data dependences vector from ... (compute_data_dependences_for_loop): ... here. Account for compute_all_dependences returning false. (compute_data_dependences_for_bb): Likewise. * params.def (PARAM_LOOP_MAX_DATAREFS_FOR_DATADEPS): New param. * doc/invoke.texi (loop-max-datarefs-for-datadeps): Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183624 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/51970 PR fortran/51977 * primary.c (gfc_match_varspec. gfc_match_rvalue): Set handle array spec for BT_CLASS. * expr.c (gfc_get_variable_expr, gfc_lval_expr_from_sym) * frontend-passes.c (create_var): Ditto. * resolve.c (resolve_actual_arglist, resolve_assoc_var): Ditto. * trans-decl.c (gfc_trans_deferred_vars): Use class_pointer instead of attr.pointer. (gfc_generate_function_code): Use CLASS_DATA (sym) for BT_CLASS. * trans-intrinsic.c (conv_intrinsic_move_alloc): Move assert. * trans-stmt.c (trans_associate_var): Ask for the descriptor. 2012-01-27 Tobias Burnus <burnus@net-b.de> PR fortran/51970 PR fortran/51977 * gfortran.dg/move_alloc_13.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183622 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/51953 * match.c (gfc_match_allocate): Allow more than allocate object with SOURCE=. 2012-01-27 Tobias Burnus <burnus@net-b.de> PR fortran/51953 * gfortran.dg/allocate_alloc_opt_13.f90: New. * gfortran.dg/allocate_alloc_opt_4.f90: Add -std=f2003 and change dg-error string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183621 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/52016 * resolve.c (resolve_formal_arglist): Fix elemental constraint checks for polymorphic dummies. 2012-01-27 Tobias Burnus <burnus@net-b.de> PR fortran/52016 * gfortran.dg/elemental_args_check_5.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183620 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR middle-end/51959 * expr.c (store_field): Use the alias-set of the scratch memory for storing to it. * g++.dg/torture/pr51959.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183616 138bc75d-0d04-0410-961f-82ee72b054a4
-
vries authored
PR tree-optimization/51990 * gcc.dg/pr51990.c: New test. * gcc.dg/pr51990-2.c: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183615 138bc75d-0d04-0410-961f-82ee72b054a4
-
vries authored
PR tree-optimization/51990 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle WITH_SIZE_EXPR. * tree-ssa-pre.c (create_component_ref_by_pieces_1): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183614 138bc75d-0d04-0410-961f-82ee72b054a4
-
pault authored
Tobias Burnus <burnus@gcc.gnu.org> PR fortran/48705 PR fortran/51870 PR fortran/51943 PR fortran/51946 * trans-array.c (gfc_array_init_size): Add two extra arguments to convey the dynamic element size of a calls object and to return the number of elements that have been allocated. (gfc_array_allocate): Add the same arguments and use them to call gfc_array_init_size. Before the allocation dereference the data pointer, if necessary. Set the allocated array to zero if the class element size or expr3 are non-null. * trans-expr.c (gfc_conv_class_to_class): Give this function global scope. (get_class_array_ref): New function. (gfc_copy_class_to_class): New function. * trans-array.h : Update prototype for gfc_array_allocate. * trans-stmt.c (gfc_trans_allocate): For non-variable class STATUS expressions extract the class object and the dynamic element size. Use the latter to call gfc_array_allocate and the former for setting the vptr and, via gfc_copy_class_to_clasfc_cs, to copy to the allocated data. * trans.h : Prototypes for gfc_get_class_array_ref, gfc_copy_class_to_class and gfc_conv_class_to_class. 2012-01-27 Paul Thomas <pault@gcc.gnu.org> Tobias Burnus <burnus@gcc.gnu.org> PR fortran/48705 * gfortran.dg/class_allocate_11.f03: New. PR fortran/51870 PR fortran/51943 PR fortran/51946 * gfortran.dg/class_allocate_7.f03: New. * gfortran.dg/class_allocate_8.f03: New. * gfortran.dg/class_allocate_9.f03: New. * gfortran.dg/class_allocate_10.f03: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183613 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
an alignment on fields of the RETURN type built for the CICO mechanism. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183611 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
a call to a function that returns an unconstrained type with default discriminant. Similarly, avoid doing the conversion to the nominal git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183610 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* gcc-interface/decl.c (is_variable_size): Rename to... (type_has_variable_size): ...this. (adjust_packed): Adjust to above renaming. (gnat_to_gnu_field): Set DECL_ALIASED_P on the field. (field_is_artificial): New predicate. (field_is_aliased): Likewise. (field_has_self_size): Likewise. (field_has_variable_size): Likewise. (components_to_record): Record information for the final layout during the first pass on fields. If there is an aliased field placed after a field whose length depends on discriminants, put all the fields of the latter sort, last. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183609 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* var-tracking.c (reverse_op): Don't add any reverse operation if V already has any constant locations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183608 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* gcc-interface/decl.c (get_minimal_subprog_decl): New function. * gcc-interface/trans.c (Attribute_to_gnu): Use it for the prefix of an Access-like attribute in a dispatch table if the subprogram is public. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183607 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* gcc-interface/utils.c (create_label_decl): Add GNAT_NODE parameter and invoke gnat_pushdecl on it. Remove obsolete settings. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Label>: Adjust call to create_label_decl. * gcc-interface/trans.c (gnat_to_gnu) <N_Null): Likewise. Ignore the label for debugging purposes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183606 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
object with an unconstrained nominal subtype and if optimization isn't enabled, create a special VAR_DECL for debugging purposes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183605 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* gnat.dg/stack_usage1_pkg.ad[sb]: New helper. * gcc.dg/pr44194-1.c: Remove superfluous include directive. * gcc.dg/pr44194-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183604 138bc75d-0d04-0410-961f-82ee72b054a4
-
sandra authored
gcc/ * doc/invoke.texi: Correct usage of "command line" (noun) vs "command-line" (adjective) throughout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183603 138bc75d-0d04-0410-961f-82ee72b054a4
-
sandra authored
gcc/ * doc/invoke.texi (Language Independent Options): Move -Wcoverage-mismatch blurb from here.... (Warning Options): ...to here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183602 138bc75d-0d04-0410-961f-82ee72b054a4
-
bergner authored
Set rs6000_always_hint to false for 476. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183601 138bc75d-0d04-0410-961f-82ee72b054a4
-
bkoz authored
Matthias Klose <doko@ubuntu.com> * configure.ac (GLIBCXX_ENABLE_DEBUG_FLAGS): Use -gdwarf-4 -g3 -O0. * configure.in: Regenerated. * src/Makefile.am (all-once, install-data-once): New rules. (all-local, install-data-local): Use them. (build-debug, install-debug): Tweak. * src/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183599 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183598 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
2012-01-26 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51370 * error.c (dump_decl, [TEMPLATE_ID_EXPR]): Handle error_mark_node as TREE_OPERAND (t, 1). /testsuite 2012-01-26 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51370 * g++.dg/template/crash112.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183593 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 26 Jan, 2012 10 commits
-
-
doko authored
* gcc.c (add_sysrooted_prefix): Remove trailing dir separator from system root. * incpath.c (add_standard_paths): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183591 138bc75d-0d04-0410-961f-82ee72b054a4
-
ccoutant authored
(enum dwarf_attribute): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183588 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* config/m68k/m68k.c (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New. * config/m68k/sync.md (atomic_test_and_set): Rename from sync_test_and_setqi and adjust the operands. (atomic_test_and_set_1): Rename from sync_test_and_setqi_1 and unconditionally enable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183585 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* config/sparc/sparc.c (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New. * config/sparc/sync.md (atomic_test_and_set): Only handle QImode. (ldstub): Rename from ldstubqi. (ldstub<I24MODE>): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183584 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* gcc.dg/atomic-flag.c: Adjust for __GCC_ATOMIC_TEST_AND_SET_TRUEVAL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183583 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* include/bits/atomic_base.h (__atomic_flag_base): Define _M_i based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL. (ATOMIC_FLAG_INIT): Initialize with 0, not false. (atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183582 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* target.def (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New. * c-cppbuiltin.c (cpp_atomic_builtins): Define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL. * doc/tm.texi.in (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): Add doc hook. * doc/tm.texi: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183581 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* optabs.c (gen_atomic_test_and_set): Remove default. (maybe_emit_atomic_test_and_set): Use maybe_expand_insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183580 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183579 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183577 138bc75d-0d04-0410-961f-82ee72b054a4
-