summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Backport revision 186252 to 4.7 branchhjl/gcc-4_7-branch/pr53768hubicka2012-06-286-9/+88
| | | | | | | | | | | | | | | | | | | | | | PR lto/52722 PR lto/51765 PR lto/52634 * lto-cgraph.c (compute_ltrans_boundary): When alias is in the boundary, add its target too. * lto.c (add_references_to_partition): Add also aliased nodes. (add_cgraph_node_to_partition, add_varpool_node_to_partition): Work on nodes, not functions/variables; when adding alias, add also the aliased object. * gcc.dg/lto/pr52634_1.c: New testcase. * gcc.dg/lto/pr52634_0.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186252 138bc75d-0d04-0410-961f-82ee72b054a4 Conflicts: gcc/ChangeLog gcc/testsuite/ChangeLog
* Backport from 2012-06-28 mainline r189049gjl2012-06-284-4/+35
| | | | | | | | | | | | PR 53595 * config/avr/avr.c (avr_hard_regno_call_part_clobbered): New. * config/avr/avr-protos.h (avr_hard_regno_call_part_clobbered): New. * config/avr/avr.h (HARD_REGNO_CALL_PART_CLOBBERED): Forward to avr_hard_regno_call_part_clobbered. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189050 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-28 Richard Guenther <rguenther@suse.de>rguenth2012-06-284-0/+29
| | | | | | | | | | | PR middle-end/53790 * expr.c (expand_expr_real_1): Verify if the type is complete before inspecting its size. * gcc.dg/torture/pr53790.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189047 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189032 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite/ChangeLogfabien2012-06-276-14/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-06-27 Fabien Chêne <fabien@gcc.gnu.org> PR c++/51214 * g++.dg/cpp0x/forw_enum11.C: New. gcc/cp/ChangeLog 2012-06-27 Fabien Chêne <fabien@gcc.gnu.org> PR c++/51214 * cp-tree.h (insert_late_enum_def_into_classtype_sorted_fields): Declare. * class.c (insert_into_classtype_sorted_fields): New. (add_enum_fields_to_record_type): New. (count_fields): Adjust the comment. (add_fields_to_record_type): Likewise. (finish_struct_1): Move the code that inserts the fields for the sorted case, into insert_into_classtype_sorted_fields, and call it. (insert_late_enum_def_into_classtype_sorted_fields): Define. * decl.c (finish_enum_value_list): Call insert_late_enum_def_into_classtype_sorted_fields if a late enum definition is encountered. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189021 138bc75d-0d04-0410-961f-82ee72b054a4
* Merged from trunkktietz2012-06-272-1/+7
| | | | | | | | PR preprocessor/37215 * c-ppoutput.c (preprocess_file): Check for nonempty buffer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189019 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rx/rx.md (comparesi3_extend): Remove = modifier fromnickc2012-06-272-1/+6
| | | | | | | input operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189015 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189002 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/53682aoliva2012-06-262-1/+6
| | | | | | * cselib.c (promote_debug_loc): Don't crash on NULL argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188997 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-26 Richard Guenther <rguenther@suse.de>rguenth2012-06-263-0/+164
| | | | | | | | | | | PR c++/53752 * mangle.c (write_array_type): Truncate the number-of-elements result. * g++.dg/torture/pr53752.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188987 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rx/rx.md (simple_return): Use the simple_return rtx.nickc2012-06-262-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188977 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/53498jason2012-06-265-1/+56
| | | | | | | PR c++/53305 * pt.c (tsubst_pack_expansion): Copy before dummy tsubst. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188974 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188970 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/52988jason2012-06-254-1/+24
| | | | | | | * typeck.c (decay_conversion): Don't discard side-effects from expressions of nullptr_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188954 138bc75d-0d04-0410-961f-82ee72b054a4
* gotest: Only look in data segment for ppc64, not ppc*.ian2012-06-251-1/+1
| | | | | | | From Andreas Schwab. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188945 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to Go 1.0.2 release.ian2012-06-2559-169/+1088
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188942 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/53202jason2012-06-254-5/+126
| | | | | | | | * semantics.c (build_data_member_initialization): Always keep initializer for empty base. (cxx_eval_bare_aggregate): Discard it here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188941 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/53759jakub2012-06-254-1/+27
| | | | | | | | | | * config/i386/sse.md (sse_loadlps): Use x m x constraints instead of x x x in the vmovlps load alternative. * gcc.target/i386/pr53759.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188938 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/53594jakub2012-06-254-1/+31
| | | | | | | | | | | * class.c (check_bases_and_members): Avoid -Wuninitialized diagnostics for non-static const members or references if they use NSDMI. * g++.dg/cpp0x/nsdmi7.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188926 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188921 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188912 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188905 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-22 Richard Guenther <rguenther@suse.de>rguenth2012-06-222-2/+6
| | | | | | | * gcov-iov.c: Include bconfig.h and system.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188883 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-22 Tobias Burnus <burnus@net-b.de>burnus2012-06-224-2/+58
| | | | | | | | | | | | | | | | | | | | | | | Backport from mainline 2012-06-17 Tobias Burnus <burnus@net-b.de> PR fortran/53691 PR fortran/53685 * check.c (gfc_calculate_transfer_sizes): Return if SIZE= is not constant or source-size cannot be determined. 2012-06-22 Tobias Burnus <burnus@net-b.de> Backport from mainline 2012-06-17 Tobias Burnus <burnus@net-b.de> PR fortran/53691 PR fortran/53685 * gfortran.dg/transfer_check_3.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188882 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-22 Richard Guenther <rguenther@suse.de>rguenth2012-06-222-1/+12
| | | | | | | | PR gcov-profile/53744 * gcov-iov.c (main): Treat "" and "prerelease" the same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188877 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-live.c (remove_unused_scope_block_p): Remove againebotcazou2012-06-225-5/+33
| | | | | | | DECL_IGNORED_P non-reg vars even if they are used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188873 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188864 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188846 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/stack-usage-1.c: Remove dg-options line for sh targetskkojima2012-06-202-1/+7
| | | | | | | | and add __sh__ case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188816 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/53651jason2012-06-204-0/+26
| | | | | | | * name-lookup.c (constructor_name_p): Don't try to look at the name of a DECLTYPE_TYPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188813 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/52637jason2012-06-206-40/+124
| | | | | | | | | | * dwarf2out.c (modified_type_die): Use scope_die_for. (gen_type_die_with_usage, dwarf2out_finish): Likewise. (uses_local_type_r, uses_local_type): New. (scope_die_for): Keep a type that uses a local type in local scope. Use get_context_die for namespace and type scope. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188812 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-11 Richard Guenther <rguenther@suse.de>jason2012-06-205-5/+58
| | | | | | | | | | | PR middle-end/53470 * tree.c (free_lang_data_in_type): Do not clear TYPE_CONTEXT but replace it with the first non-BLOCK context. * g++.dg/lto/pr53470_0.C: New testcase. * gcc.dg/lto/pr53470_0.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188811 138bc75d-0d04-0410-961f-82ee72b054a4
* Reapply:jason2012-06-204-6/+49
| | | | | | | | | PR c++/53137 * pt.c (instantiate_class_template_1): Set LAMBDA_EXPR_THIS_CAPTURE. (instantiate_decl): Don't push_to_top_level for local class methods. (instantiate_class_template_1): Or for local classes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188810 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/53599jason2012-06-203-1/+11
| | | | | | * pt.c (lookup_template_class_1): Use ts_global. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188809 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-201-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188801 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/53270redi2012-06-192-0/+12
| | | | | | | * config/os/gnu-linux/os_defines.h: Disable static initializer macros for gthreads types in C++11 mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188768 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188763 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-19 Jörg Sonnenberger <joerg@britannica.bec.de>redi2012-06-183-4/+37
| | | | | | | | | | Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/53678 * config/os/bsd/netbsd/ctype_base.h: Check for _CTYPE_U. * testsuite/22_locale/ctype_base/53678.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188760 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-18 Vladimir Makarov <vmakarov@redhat.com>vmakarov2012-06-182-4/+11
| | | | | | | | | | | | | | PR rtl-optimization/53700 Backport from mainline 2012-03-29 Vladimir Makarov <vmakarov@redhat.com> * ira-color.c (setup_left_conflict_sizes_p): Process all conflicting objects. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188750 138bc75d-0d04-0410-961f-82ee72b054a4
* Back port Fix PR 52908 - xop-mul-1:f9 miscompiled on bulldozer (-mxop) to ↵vekumar2012-06-184-104/+52
| | | | | | 4.7 branch git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188736 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-181-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188720 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainline:uros2012-06-172-6/+15
| | | | | | | | | | 2012-06-17 Uros Bizjak <ubizjak@gmail.com> * config/i386/sse.md (vcvtph2ps): Fix vec_select selector. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188706 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188700 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainline:danglin2012-06-163-3/+23
| | | | | | | | | | | | | | 2012-06-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * config/pa/pa.h (MAX_PCREL17F_OFFSET): Define. * config/pa/pa.c (pa_attr_length_millicode_call): Use MAX_PCREL17F_OFFSET instead of fixed offset. (pa_attr_length_call): Likewise. (pa_attr_length_indirect_call): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188697 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188688 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainline:walt2012-06-152-2/+11
| | | | | | | | | | | 2012-06-15 Walter Lee <walt@tilera.com> * config/tilegx/sync.md (atomic_fetch_<fetchop_name><mode>): Fix typo. 2012-06-14 Maxim Kuvyrkov <maxim@codesourcery.com> * config/tilegx/sync.md (atomic_fetch_sub<mode>): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188674 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainline:aldyh2012-06-153-2/+10
| | | | | | | | | 2012-05-31 Aldy Hernandez <aldyh@redhat.com> * tree-ssa-loop-im.c (execute_sm): Do not check flag_tm. * gimple.h (block_in_transaction): Check for flag_tm. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188658 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/53592ebotcazou2012-06-157-19/+53
| | | | | | | | | | * gcc-interface/gigi.h (maybe_vector_array): Make static inline. * gcc-interface/utils.c (maybe_vector_array): Delete. * gcc-interface/trans.c (gnat_to_gnu) <N_Indexed_Component>: Mark the array object as addressable if it has vector type and is on the LHS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188654 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2012-06-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188644 138bc75d-0d04-0410-961f-82ee72b054a4
* Bring over accumulated bug fixes from mainline.ian2012-06-1412-236/+74
| | | | | | | | | | | | | runtime: Fix printing of names in stack dumps. compiler: Fix taking address of field of local variable. compiler, reflect: Handle package path like gc compiler. os: Use Entersyscall when reading directories. os/user: Use Entersyscall. compiler: Avoid unnecessary interface conversions. libgo: Make the subdirectory in the CHECK target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188633 138bc75d-0d04-0410-961f-82ee72b054a4