OSDN Git Service

pf3gnuchains/gcc-fork.git
9 years ago2012-07-29 François Dumont <fdumont@gcc.gnu.org>
fdumont [Sun, 29 Jul 2012 17:06:21 +0000 (17:06 +0000)]
2012-07-29  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/54075
* include/bits/hashtable_policy.h
(_Prime_rehash_policy::_M_next_bkt): Add a growth factor set to 2
to boost growth in the number of buckets.
* testsuite/performance/23_containers/insert/unordered_set.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189941 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sun, 29 Jul 2012 00:17:43 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189928 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sat, 28 Jul 2012 00:18:14 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189923 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gcc.dg/20020201-1.c: Remove declarations for exit, abort,
kyukhin [Fri, 27 Jul 2012 09:56:24 +0000 (09:56 +0000)]
    * gcc.dg/20020201-1.c: Remove declarations for exit, abort,
        rand, srand. Include <stdlib.h>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189906 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Fri, 27 Jul 2012 00:18:04 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189903 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-26 François Dumont <fdumont@gcc.gnu.org>
fdumont [Thu, 26 Jul 2012 12:31:50 +0000 (12:31 +0000)]
2012-07-26  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/54075
* include/bits/hashtable.h
(_Hashtable<>::_Hashtable(_InputIterator, _InputIterator,
size_type, ...): Remove std::max usage to guarantee that hashtable
state is consistent with hash policy state.
(_Hashtable<>::rehash): Likewise. Set _M_prev_resize to 0 to avoid
the hashtable shrinking on next insertion.
* testsuite/23_containers/unordered_set/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_multiset/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_map/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_multimap/modifiers/reserve.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189889 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoruntime, runtime/pprof: Fix runtime/pprof test to pass, enable it.
ian [Thu, 26 Jul 2012 01:57:22 +0000 (01:57 +0000)]
runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189879 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Thu, 26 Jul 2012 00:17:54 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189875 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 25 Jul 2012 00:17:19 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189831 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 24 Jul 2012 00:17:11 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189799 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoruntime: correct a logic error in hashmap growth.
ian [Mon, 23 Jul 2012 03:57:53 +0000 (03:57 +0000)]
runtime: correct a logic error in hashmap growth.

The bug prevented maps to grow properly to sizes
larger than 1.3 million.

From Rémy Oudompheng.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189767 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Mon, 23 Jul 2012 00:17:12 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189764 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/33135
olegendo [Sun, 22 Jul 2012 23:44:45 +0000 (23:44 +0000)]
PR target/33135
* config/sh/sh.opt (mieee): Use Var instead of Mask.  Correct
description.
* config/sh/sh.c (sh_option_override): Do not change
flag_finite_math_only.  Set TARGET_IEEE to complement of
flag_finite_math_only.
* doc/invoke.texi (SH options): Add mno-ieee.  Correct
description of mieee and mno-ieee behavior.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189761 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sun, 22 Jul 2012 00:18:12 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189750 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sat, 21 Jul 2012 00:17:15 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189736 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/54038
jason [Fri, 20 Jul 2012 16:11:58 +0000 (16:11 +0000)]
PR c++/54038
* tree.c (build_cplus_array_type): Use build_cplus_array_type to build
canonical array type rather than mess with its TYPE_*_VARIANT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189720 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-20 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 20 Jul 2012 09:44:33 +0000 (09:44 +0000)]
2012-07-20  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/30_threads/thread/adl.cc: Add missing dg-requires.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189710 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-20 Kirill Yukhin <kirill.yukhin@intel.com>
kyukhin [Fri, 20 Jul 2012 08:57:04 +0000 (08:57 +0000)]
2012-07-20  Kirill Yukhin  <kirill.yukhin@intel.com>

        PR target/53877
        * config/i386/lzcntintrin.h (_lzcnt_u32): New.
        (_lzcnt_u64): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189706 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline
abel [Fri, 20 Jul 2012 08:49:52 +0000 (08:49 +0000)]
    Backport from mainline
        2012-03-06  Andrey Belevantsev  <abel@ispras.ru>

        PR rtl-optimization/52250
        * sel-sched-ir.c (maybe_tidy_empty_bb): Try harder to find a bb
        to put note list into.  Unconditionally call move_bb_info.
        (move_bb_info): Do not assert the blocks being in the same region,
        just drop the note list if they are not.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189705 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/54026
jason [Fri, 20 Jul 2012 06:29:33 +0000 (06:29 +0000)]
PR c++/54026
* typeck.c (cp_apply_type_quals_to_decl): Check COMPLETE_TYPE_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189702 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Fri, 20 Jul 2012 00:16:39 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189694 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/sparc/sparc.md (adddi3_insn_sp32): Add earlyclobber.
ebotcazou [Thu, 19 Jul 2012 21:56:33 +0000 (21:56 +0000)]
* config/sparc/sparc.md (adddi3_insn_sp32): Add earlyclobber.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189690 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * tree-ssa-forwprop.c (combine_conversions): Punt if the RHS of the
ebotcazou [Thu, 19 Jul 2012 21:40:23 +0000 (21:40 +0000)]
* tree-ssa-forwprop.c (combine_conversions): Punt if the RHS of the
defining statement is a SSA name that occurs in abnormal PHIs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189688 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gimple-fold.c (canonicalize_constructor_val): Strip only useless type
ebotcazou [Thu, 19 Jul 2012 21:26:17 +0000 (21:26 +0000)]
* gimple-fold.c (canonicalize_constructor_val): Strip only useless type
conversions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189686 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Try to ensure
ebotcazou [Thu, 19 Jul 2012 21:16:42 +0000 (21:16 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Try to ensure
that an object of CW type initialized to a value is sufficiently
aligned for this value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189683 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * tree-ssa-ccp.c (valid_lattice_transition): Clarify comment
ebotcazou [Thu, 19 Jul 2012 20:25:07 +0000 (20:25 +0000)]
* tree-ssa-ccp.c (valid_lattice_transition): Clarify comment
about transition from invariant to known bits.
(likely_value): Addresses with UNDEFINED components are UNDEFINED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189679 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Do not
ebotcazou [Thu, 19 Jul 2012 15:46:06 +0000 (15:46 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Do not
look up the REP part of the base type in advance.  Deal with that of
the variant types.
(get_rep_part): Be prepared for record types with fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189667 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR middle-end/54017
jakub [Thu, 19 Jul 2012 14:05:54 +0000 (14:05 +0000)]
PR middle-end/54017
* tree-cfgcleanup.c (cleanup_omp_return): Remove.
(cleanup_tree_cfg_bb): Don't call it.
* omp-low.c (expand_omp_sections): Fix up the !exit_reachable case
handling.

* c-c++-common/gomp/pr54017.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189659 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoPR target/54029
chrbr [Thu, 19 Jul 2012 13:46:46 +0000 (13:46 +0000)]
PR target/54029
* config/sh/sh.c (gen_far_branch): Set JUMP_LABEL for return jumps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189657 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * method.c (process_subob_fn): Make sure no_implicit_p is non-null
jason [Thu, 19 Jul 2012 01:37:07 +0000 (01:37 +0000)]
* method.c (process_subob_fn): Make sure no_implicit_p is non-null
before trying to store through it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189641 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Thu, 19 Jul 2012 00:17:09 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189636 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>
corsepiu [Wed, 18 Jul 2012 15:34:46 +0000 (15:34 +0000)]
2012-07-18  Ralf Corsépius  <ralf.corsepius@rtems.org>

       * config.gcc (v850-*-rtems*): New target.
       * config/v850/rtems.h: New.
       * config/v850/t-rtems: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189619 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * doc/invoke.texi (ARM Options): Document -munaligned-access.
nickc [Wed, 18 Jul 2012 12:45:39 +0000 (12:45 +0000)]
* doc/invoke.texi (ARM Options): Document -munaligned-access.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189613 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-18 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 18 Jul 2012 08:35:41 +0000 (08:35 +0000)]
2012-07-18  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2012-05-03  Richard Guenther  <rguenther@suse.de>

        * gfortran.dg/pr52621.f90: Add -w to avoid diagnostic about
        unsupported prefetching support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189606 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/53995
jason [Wed, 18 Jul 2012 02:48:17 +0000 (02:48 +0000)]
PR c++/53995
* decl.c (finish_enum_value_list): Only call
insert_late_enum_def_into_classtype_sorted_fields in class scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189599 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 18 Jul 2012 00:16:55 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189593 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/53989
jason [Tue, 17 Jul 2012 21:34:22 +0000 (21:34 +0000)]
PR c++/53989
* tree.c (build_cplus_array_type): Also add TYPE_CANONICAL
to the list of variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189588 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/53549
jason [Tue, 17 Jul 2012 19:27:51 +0000 (19:27 +0000)]
PR c++/53549
* parser.c (cp_parser_class_head): Call xref_basetypes here.
(cp_parser_class_specifier_1): Not here.
* pt.c (tsubst_decl) [USING_DECL]: Check uses_template_parms
as well as DECL_DEPENDENT_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189585 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 17 Jul 2012 00:17:20 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189558 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR libstdc++/53270
redi [Mon, 16 Jul 2012 22:34:13 +0000 (22:34 +0000)]
PR libstdc++/53270
* include/ext/concurrence.h: Use NSDMI for gthreads types.
* include/ext/rope: Likewise. Destroy mutexes in destructors. Add
system_header pragma.

Revert:
2012-06-19  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/53270
* 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@189555 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR libstdc++/53978
redi [Mon, 16 Jul 2012 20:47:40 +0000 (20:47 +0000)]
PR libstdc++/53978
* include/bits/alloc_traits.h (allocator_traits): Define static
constants.
* include/bits/ptr_traits.h (pointer_traits): Likewise.
* include/ext/alloc_traits.h (__allocator_always_compares_equal):
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189548 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Mon, 16 Jul 2012 00:17:39 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189498 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/53961
uros [Sun, 15 Jul 2012 08:13:47 +0000 (08:13 +0000)]
PR target/53961

Backport from mainline
2012-04-25  Jakub Jelinek  <jakub@redhat.com>

PR target/53110
* config/i386/i386.md (and<mode>3): For andq $0xffffffff, reg
instead expand it as zero extension.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189491 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sun, 15 Jul 2012 00:17:52 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189488 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/i386/i386.md (QImode and HImode cmove splitters): Merge
uros [Sat, 14 Jul 2012 07:42:08 +0000 (07:42 +0000)]
* config/i386/i386.md (QImode and HImode cmove splitters): Merge
QImode and HImode splitters.  Use ix86_comparison_operator.
Explicitly match FLAGS_REG.
(DFmode cmove splitter): Explicitly match FLAGS_REG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189478 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sat, 14 Jul 2012 00:16:52 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189475 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR rtl-optimization/53908
hp [Fri, 13 Jul 2012 17:22:55 +0000 (17:22 +0000)]
PR rtl-optimization/53908
* gcc.dg/torture/pr53908.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189469 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR rtl-optimization/53908
hp [Fri, 13 Jul 2012 17:21:41 +0000 (17:21 +0000)]
PR rtl-optimization/53908
* df-problems.c (can_move_insns_across): When doing
memory-reference book-keeping, handle call insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189468 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/53953
jason [Fri, 13 Jul 2012 15:09:47 +0000 (15:09 +0000)]
PR c++/53953
* method.c (synthesized_method_walk): Initialize no_implicit_p sooner.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189466 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-13 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 13 Jul 2012 09:00:18 +0000 (09:00 +0000)]
2012-07-13  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/53657
* include/bits/stl_pair.h (pair<>::pair(pair&&)): Declare defaulted,
per C++11.
* include/bits/stl_map.h (map<>::insert(_Pair&&), map<>::insert
(const_iterator, _Pair&&)): Constrain with std::is_constructible,
per LWG2005.
* include/bits/stl_multimap.h (multimap<>::insert(_Pair&&),
multimap<>::insert(const_iterator, _Pair&&)): Likewise.
* include/bits/hashtable.h (_Hashtable<>::insert(_Pair&&),
_Hashtable<>::insert(const_iterator, _Pair&&)): Likewise.
* include/debug/unordered_map: Adjust.
* include/debug/map.h: Likewise.
* include/debug/multimap.h: Likewise.
* include/profile/unordered_map: Likewise.
* include/profile/map.h: Likewise.
* include/profile/multimap.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189457 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Fri, 13 Jul 2012 00:16:30 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189447 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Thu, 12 Jul 2012 00:16:39 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189430 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 11 Jul 2012 00:19:04 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189419 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline
uros [Tue, 10 Jul 2012 17:53:48 +0000 (17:53 +0000)]
Backport from mainline
2012-07-03  Uros Bizjak  <ubizjak@gmail.com>

PR target/53811
* config/i386/i386.c (x86_output_mi_thunk): Check if fnaddr satisfies
sibcall_insn_operand.  Move it to a temporary register if not.

2012-07-06  Uros Bizjak  <ubizjak@gmail.com>

PR target/53853
* config/i386/i386.c (x86_output_mi_thunk): For CM_LARGE_PIC model,
emit PIC sequence for fnaddr symbol reference in advance.

testsuite/ChangeLog:

Backport from mainline
2012-07-03  Uros Bizjak  <ubizjak@gmail.com>

PR target/53811
* g++.dg/other/pr53811.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189412 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 10 Jul 2012 00:17:05 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189400 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago DR 1402
jason [Tue, 10 Jul 2012 00:05:50 +0000 (00:05 +0000)]
DR 1402
PR c++/53733
* cp-tree.h (FNDECL_SUPPRESS_IMPLICIT_DECL): New.
(struct lang_decl_fn): Add suppress_implicit_decl field.
* method.c (implicitly_declare_fn): Check it.
(process_subob_fn): Add no_implicit_p parm.
(walk_field_subobs, synthesized_method_walk): Likewise.
(maybe_explain_implicit_delete): Adjust.
(explain_implicit_non_constexpr): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189398 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * method.c (synthesized_method_walk): Cleanups don't affect the EH
jason [Tue, 10 Jul 2012 00:05:38 +0000 (00:05 +0000)]
* method.c (synthesized_method_walk): Cleanups don't affect the EH
spec either.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189397 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline.
janis [Mon, 9 Jul 2012 22:10:40 +0000 (22:10 +0000)]
Backport from mainline.
2012-06-28  Janis Johnson  <janisjo@codesourcery.com>

* g++.dg/cpp0x/nullptr19.c: Remove exta directives on same line.

* g++.dg/template/error46.C: Add missing comment to dg-message.
* g++.dg/template/crash107.C: Likewise.
* g++.dg/template/error47.C: Likewise.
* g++.dg/template/crash108.C: Likewise.
* g++.dg/overload/operator5.C: Likewise.

* gcc.dg/Wstrict-aliasing-converted-assigned.c: Fix syntax
errors in dg-message directives, add comments.

2012-06-26  Janis Johnson  <janisjo@codesourcery.com>

* lib/scandump.exp (scan-dump, scan-dump-not, scan-dump-dem,
scan-dump-dem-not): Use printable pattern in test name.

2012-06-25  Janis Johnson  <janisjo@codesourcery.com>

* lib/target-supports-dg.exp (testname-for-summary): New.
* lib/profopt.exp (profopt_execute): Define testname_with_flags.
* lib/gcc-dg.exp (cleanup-coverage-files, cleanup-repo-notes,
cleanup-stack-usage, cleanup-dump, cleanup-saved-temps, scan-module,
scan-module-absence, output-exists, output-exists-not: Use
testname-for-summary.
(dg-test): Clean up testname_with_flags.
* lib/scanasm.exp (scan-assembler, scan-assembler-not, scan-hidden,
scan-not-hidden, scan-file, scan-file-not, scan-stack-usage,
scan-stack-usage-not, scan-assembler-times, scan-assembler-dem,
scan-assembler-dem-not, object-size: Use testname-for-summary.
* lib/gcov.exp (run-gcov): Likewise.
* lib/scandump.exp (scan-dump, scan-dump-times, scan-dump-not,
scan-dump-dem, scan-dump-dem-note): Likewise.

* lib/profopt.exp: Make prof_option_list local to profopt-execute.
* g++.dg/tree-prof/tree-prof.exp (PROFOPT_OPTIONS): Define after
including profopt.opt; save and restore existing value.
* g++.dg/bprob/bprob.exp: Likewise.
* gcc.dg/matrix/matrix.exp: Likewise.
* gcc.dg/tree-prof/tree-prof.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise; also replace formerly-ignored
PROFOPT_OPTIONS.

2012-06-15  Janis Johnson  <janosjo@codesourcery.com>

* lib/gcov.exp (verify-lines, verify-branches, verify-calls): Use
testname that includes flags, passed in as new argument, in
pass/fail messages.
(run_gcov): Get testname from dg-test, use it in pass/fail messages
and pass it to verify-* procedures.

* g++.dg/torture/stackalign/stackalign.exp: Combine stack
alignment torture options with usual torture options.

* g++.dg/cpp0x/auto27.C: Add comments to checks for multiple
messages reported for one line of source code.
* g++.dg/cpp0x/constexpr-decl.C: Likewise.
* g++.dg/cpp0x/decltype2.C: Likewise.
* g++.dg/cpp0x/decltype3.C: Likewise.
* g++.dg/cpp0x/lambda/lambda-syntax1.C: Likewise.
* g++.dg/cpp0x/regress/error-recovery1.C: Likewise.
* g++.dg/cpp0x/static_assert3.C: Likewise.
* g++.dg/cpp0x/udlit-cpp98-neg.C: Likewise.
* g++.dg/cpp0x/udlit-shadow-neg.C: Likewise.
* g++.dg/cpp0x/union1.C: Likewise.
* g++.dg/cpp0x/variadic-ex10.C: Likewise.
* g++.dg/cpp0x/variadic-ex14.C: Likewise.
* g++.dg/cpp0x/variadic2.C: Likewise.
* g++.dg/cpp0x/variadic20.C: Likewise.
* g++.dg/cpp0x/variadic74.C: Likewise.
* g++.dg/diagnostic/bitfld2.C: Likewise.
* g++.dg/ext/attrib44.C: Likewise.
* g++.dg/ext/no-asm-1.C: Likewise.
* g++.dg/other/error34.C: Likewise.
* g++.dg/parse/crash46.C: Likewise.
* g++.dg/parse/error10.C: Likewise.
* g++.dg/parse/error2.C: Likewise.
* g++.dg/parse/error3.C: Likewise.
* g++.dg/parse/error36.C: Likewise.
* g++.dg/parse/error8.C: Likewise.
* g++.dg/parse/error9.C: Likewise.
* g++.dg/parse/parser-pr28152-2.C: Likewise.
* g++.dg/parse/parser-pr28152.C: Likewise.
* g++.dg/parse/template25.C: Likewise.
* g++.dg/parse/typename11.C: Likewise.
* g++.dg/tc1/dr147.C: Likewise.
* g++.dg/template/deduce3.C: Likewise.
* g++.dg/template/koenig9.C: Likewise.
* g++.dg/template/pr23510.C: Likewise.
* g++.dg/warn/pr12242.C: Likewise.
* g++.dg/warn/pr30551-2.C: Likewise.
* g++.dg/warn/pr30551.C: Likewise.
* g++.old-deja/g++.other/typename1.C: Likewise.
* g++.old-deja/g++.pt/niklas01a.C: Likewise.

2012-06-13  Janis Johnson  <janisjo@codesourcery.com>

PR testsuite/20771
* lib/dg-pch.exp (dg-flags-pch): Add flags to make compile lines in
test summary unique.

* lib/scanasm.exp (scan-assembler, scan-assembler-not, scan-hidden,
scan-not-hiddent, scan-file, scan-file-not, scan-stack-usage,
scan-stack-usage-not): Don't strip torture options from test name.

* lib/scandump.exp (scan-dump-times): Use printable version of
regexp in test summary line.

* gcc.dg/di-longlong64-sync-1.c: Add comments to checks for multiple
messages reported for one line of source code.
* gcc.dg/format/few-1.c: Likewise.
* gcc.dg/ia64-sync-2.c: Likewise.
* gcc.dg/sync-2.c: Likewise.
* gcc.dg/noncompile/pr44517.c: Likewise.

2012-06-12  Janis Johnson  <janisjo@codesourcery.com>

* gcc.dg/torture/stackalign/stackalign.exp: Combine stack
alignment torture options with usual torture options.
* gcc.dg/torture/stackalign/alloca-2.c: Use dg-additional-options
instead of dg-options.
* gcc.dg/torture/stackalign/alloca-3.c: Likewise.
* gcc.dg/torture/stackalign/alloca-4.c: Likewise.
* gcc.dg/torture/stackalign/alloca-5.c: Likewise.
* gcc.dg/torture/stackalign/alloca-6.c: Likewise.
* gcc.dg/torture/stackalign/push-1.c: Likewise.
* gcc.dg/torture/stackalign/vararg-3.c: Likewise.

* gcc.target/arm/di-longlong64-sync-withhelpers.c: Add comments
to checks for multiple messages reported for one line of source code.
* gcc.target/arm/di-longlong64-sync-withldrexd.c: Likewise.

* gcc.c-torture/compile/sync-1.c: Add comments to checks for multiple
messages reported for one line of source code.

* gcc.dg/20031223-1.c: Add comments to check for multiple
messages reported for one line of source code.
* gcc.dg/Wconversion-integer.c: Likewise.
* gcc.dg/Wfatal-2.c: Likewise.
* gcc.dg/Wfatal.c: Likewise.
* gcc.dg/Wobjsize-1.c: Likewise.
* gcc.dg/c99-vla-jump-1.c: Likewise.
* gcc.dg/c99-vla-jump-2.c: Likewise.
* gcc.dg/c99-vla-jump-3.c: Likewise.
* gcc.dg/c99-vla-jump-4.c: Likewise.
* gcc.dg/c99-vla-jump-5.c: Likewise.
* gcc.dg/decl-9.c: Likewise.
* gcc.dg/declspec-10.c: Likewise.
* gcc.dg/declspec-18.c: Likewise.
* gcc.dg/mtune.c: Likewise.
* gcc.dg/parser-pr28152-2.c: Likewise.
* gcc.dg/parser-pr28152.c: Likewise.
* gcc.dg/pr14475.c: Likewise.
* gcc.dg/pr27953.c: Likewise.
* gcc.dg/pr28322-3.c: Likewise.
* gcc.dg/pr30457.c: Likewise.
* gcc.dg/pr30551-2.c: Likewise.
* gcc.dg/pr30551-3.c: Likewise.
* gcc.dg/pr30551-4.c: Likewise.
* gcc.dg/pr30551-5.c: Likewise.
* gcc.dg/pr30551-6.c: Likewise.
* gcc.dg/pr30551.c: Likewise.
* gcc.dg/pr45461.c: Likewise.
* gcc.dg/pr48552-1.c: Likewise.
* gcc.dg/pr48552-2.c: Likewise.
* gcc.dg/redecl-1.c: Likewise.
* gcc.dg/transparent-union-3.c: Likewise.
* gcc.dg/utf-dflt.c: Likewise.
* gcc.dg/utf-dflt2.c: Likewise.
* gcc.dg/vla-8.c: Likewise.
* gcc.dg/vla-init-1.c: Likewise.
* gcc.dg/wtr-int-type-1.c: Likewise.

* c-c++-common/raw-string-3.c: Add comments to checks for multiple
messages reported for for one line of source code.
* c-c++-common/raw-string-5.c: Likewise.
* c-c++-common/raw-string-4.c: Likewise.
* c-c++-common/raw-string-6.c: Likewise.
* c-c++-common/pr20000.c: Likewise.

* gcc.dg/cpp/include2a.c: Add comments to checks for multiple
messages reported for one line of source code.
* gcc.dg/cpp/pr30786.c: Likewise.
* gcc.dg/cpp/pr28709.c: Likewise.
* gcc.dg/cpp/missing-header-MD.c: Likewise.
* gcc.dg/cpp/macspace2.c: Likewise.
* gcc.dg/cpp/missing-header-1.c: Likewise.
* gcc.dg/cpp/missing-header-MMD.c: Likewise.
* gcc.dg/cpp/missing-sysheader-MD.c: Likewise.
* gcc.dg/cpp/missing-sysheader-MMD.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189393 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/53882
jason [Mon, 9 Jul 2012 14:11:33 +0000 (14:11 +0000)]
PR c++/53882
* tree.c (type_contains_placeholder_1): Handle NULLPTR_TYPE.
(type_hash_eq): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189388 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/53826
jason [Mon, 9 Jul 2012 14:11:16 +0000 (14:11 +0000)]
PR c++/53826
* tree.c (build_zero_cst): Handle NULLPTR_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189387 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoRemove duplicate entries.
ebotcazou [Mon, 9 Jul 2012 13:27:55 +0000 (13:27 +0000)]
Remove duplicate entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189382 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agomksysinfo.sh: Fix handling of glibc 2.16 bits/resource.h.
ian [Mon, 9 Jul 2012 11:14:15 +0000 (11:14 +0000)]
mksysinfo.sh: Fix handling of glibc 2.16 bits/resource.h.

From Jakub Jelinek.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189373 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Mon, 9 Jul 2012 00:16:59 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189364 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sun, 8 Jul 2012 00:16:57 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189354 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR libstdc++/53578
redi [Sat, 7 Jul 2012 18:13:19 +0000 (18:13 +0000)]
PR libstdc++/53578
* include/ext/concurrence.h (__recursive_mutex::_S_destroy): Fix
narrowing conversion.
* include/std/mutex (__recursive_mutex_base::_S_destroy): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189351 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * combine.c (force_to_mode) [LSHIFTRT]: Avoid undefined behaviour
uweigand [Sat, 7 Jul 2012 12:27:33 +0000 (12:27 +0000)]
* combine.c (force_to_mode) [LSHIFTRT]: Avoid undefined behaviour
due to negative shift amount.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189348 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sat, 7 Jul 2012 00:17:16 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189343 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agofortran/
mikael [Fri, 6 Jul 2012 19:51:15 +0000 (19:51 +0000)]
fortran/
PR fortran/53732
* trans-array.c (gfc_add_loop_ss_code): Disable self recursive calls
handling nested loop(s) if the subscript flag is true.

testsuite/
PR fortran/53732
* gfortran.dg/inline_sum_4.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189341 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline.
ktietz [Fri, 6 Jul 2012 18:56:09 +0000 (18:56 +0000)]
    Backport from mainline.
        PR bootstrap/52947
        * config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always
        as "/mingw/include".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189339 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-06 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 6 Jul 2012 13:56:24 +0000 (13:56 +0000)]
2012-07-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/53872
* include/std/thread (thread::_M_make_routine): Qualify make_shared
to prevent ADL.
* testsuite/30_threads/thread/adl.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189330 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/mn10300/mn10300.c (mn10300_encode_section_info): Call
nickc [Fri, 6 Jul 2012 10:08:10 +0000 (10:08 +0000)]
* config/mn10300/mn10300.c (mn10300_encode_section_info): Call
default_encode_section_info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189317 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-06 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 6 Jul 2012 09:25:46 +0000 (09:25 +0000)]
2012-07-06  Richard Guenther  <rguenther@suse.de>

Backport from mainline
        2012-03-30  Richard Guenther  <rguenther@suse.de>

        PR middle-end/52786
        * double-int.c (rshift_double): Remove not
        needed cast.

2012-03-28  Richard Guenther  <rguenther@suse.de>

PR middle-end/50708
* double-int.h (rshift_double): Remove.
* double-int.c (lshift_double): Use absu_hwi to make count
positive.
(rshift_double): Make static, take unsigned count argument,
remove handling of negative count argument.
(double_int_rshift): Dispatch to lshift_double.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189314 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-06 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 6 Jul 2012 09:21:36 +0000 (09:21 +0000)]
2012-07-06  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2012-06-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53693
* tree-vect-patterns.c (vect_operation_fits_smaller_type):
Reject operands with more than one use.

* g++.dg/torture/pr53693.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189313 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-06 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 6 Jul 2012 09:20:19 +0000 (09:20 +0000)]
2012-07-06  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
2012-04-11  Richard Guenther  <rguenther@suse.de>

PR middle-end/52621
* tree-chrec.c (evolution_function_is_invariant_rec_p): Properly
consider loop nesting.
(evolution_function_is_univariate_p): Properly check the remainder
for chrecs.

* gfortran.dg/pr52621.f90: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189312 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Fri, 6 Jul 2012 00:17:16 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189309 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline
pthaugen [Thu, 5 Jul 2012 20:30:34 +0000 (20:30 +0000)]
Backport from mainline
2012-05-24  Pat Haugen <pthaugen@us.ibm.com>

* config/rs6000/rs6000.c (rs6000_option_override_internal): Change
rs6000_sched_costly_dep default to true_store_to_load_dep_costly.
(adjacent_mem_locations): Move some code to and call...
(get_memref_parts): ...new function.
(mem_locations_overlap): New function.
(rs6000_adjust_priority): Adjust calls to is_load_insn/is_store_insn.
(is_mem_ref): Rename to...
(find_mem_ref): ...this. Return MEM rtx.
(get_store_dest): Remove function.
(is_load_insn1, is_load_insn, is_store_insn1, is_store_insn): Add
new parameter and adjust calls.
(rs6000_is_costly_dependence): Update calls for extra arg. Make sure
mem refs overlap for true_store_to_load_dep_costly.
(rs6000_sched_reorder2): Update calls for extra arg. Adjust args
passed to adjacent_mem_locations.
(is_costly_group): Walk resolved dependency list.
(force_new_group): Emit group ending nop for Power6/Power7.
* config/rs6000/rs6000.md (UNSPEC_GRP_END_NOP): New enum value.
(group_ending_nop): New define_insn.

gcc/testsuite:
* gcc.target/powerpc/lhs-1.c: New.
* gcc.target/powerpc/lhs-2.c: New.
* gcc.target/powerpc/lhs-3.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189303 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * hr.po: New.
jsm28 [Thu, 5 Jul 2012 14:30:36 +0000 (14:30 +0000)]
* hr.po: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189290 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * include/std/condition_variable: Update copyright years.
redi [Thu, 5 Jul 2012 01:12:47 +0000 (01:12 +0000)]
* include/std/condition_variable: Update copyright years.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189276 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR libstdc++/53830
redi [Thu, 5 Jul 2012 00:19:36 +0000 (00:19 +0000)]
PR libstdc++/53830
* include/std/condition_variable (condition_variable_any::wait):
Move _Unlock type to class scope.
(condition_variable_any::wait_until): Reuse it.
* testsuite/30_threads/condition_variable_any/53830.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189273 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Thu, 5 Jul 2012 00:17:15 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189271 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-04 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 4 Jul 2012 13:53:11 +0000 (13:53 +0000)]
2012-07-04  Richard Guenther  <rguenther@suse.de>

PR middle-end/53433
* gimple-fold.c (get_base_constructor): Do not return an
error_mark_node DECL_INITIAL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189262 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline
uros [Wed, 4 Jul 2012 12:53:45 +0000 (12:53 +0000)]
Backport from mainline
2012-07-03  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.c (ix86_option_override_internal): Fix wrong
code model string in the error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189259 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-04 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 4 Jul 2012 12:32:02 +0000 (12:32 +0000)]
2012-07-04  Tristan Gingold  <gingold@adacore.com>

        Backport from mainline.
        2012-06-25  Tristan Gingold  <gingold@adacore.com>

        * config/i386/winnt.c (i386_pe_seh_end_prologue): Move code to ...
        (seh_cfa_adjust_cfa): ... that function.
        (seh_emit_stackalloc): Do not emit out of range values.
        * config/i386/i386.md: Delete unused UNSPEC_REG_SAVE,
        UNSPEC_DEF_CFA constants.
        * config/i386/i386.h (SEH_MAX_FRAME_SIZE): Define.
        * config/i386/i386.c (ix86_frame_pointer_required): Required
        for very large frames on SEH target.
        (ix86_compute_frame_layout): Save area is before frame pointer
        on SEH target.  Handle very large frames.
        (ix86_expand_prologue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189258 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-04 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 4 Jul 2012 10:36:30 +0000 (10:36 +0000)]
2012-07-04  Richard Guenther  <rguenther@suse.de>

* tree.c (find_decls_types_r): Handle TYPE_CONTEXT the same
as in free_lang_data_in_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189253 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 4 Jul 2012 00:17:50 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189244 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gcc-interface/trans.c (Call_to_gnu): Robustify test for function case
ebotcazou [Tue, 3 Jul 2012 09:08:26 +0000 (09:08 +0000)]
* gcc-interface/trans.c (Call_to_gnu): Robustify test for function case
if the CICO mechanism is used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189205 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gcc-interface/utils2.c (build_simple_component_ref): Do not look
ebotcazou [Tue, 3 Jul 2012 08:52:34 +0000 (08:52 +0000)]
* gcc-interface/utils2.c (build_simple_component_ref): Do not look
through an extension if the type contains a placeholder.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189203 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * exp_disp.adb (Expand_Dispatching_Call): Propagate the convention on
ebotcazou [Tue, 3 Jul 2012 08:29:04 +0000 (08:29 +0000)]
* exp_disp.adb (Expand_Dispatching_Call): Propagate the convention on
the designated subprogram type and also set Is_Dispatch_Table_Entity.
(Expand_Interface_Thunk): Propagate the convention on the thunk.
(Set_CPP_Constructors_Old): Set Is_Constructor and Convention_CPP on
the internal view of the constructors.
(Set_CPP_Constructors): Likewise.
* sem_prag.adb (Analyze_Pragma) <Pragma_CPP_Constructor>: Set the
convention on the function.
* gcc-interface/gigi.h (is_cplusplus_method): Declare.
* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the `thiscall'
calling convention
(get_minimal_subprog_decl): Likewise.
(is_cplusplus_method): New predicate.
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Access>: Issue an
error on access to C++ constructor or member function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189200 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gcc-interface/utils.c (gnat_pushdecl): Set TYPE_CONTEXT for types
ebotcazou [Tue, 3 Jul 2012 07:58:55 +0000 (07:58 +0000)]
* gcc-interface/utils.c (gnat_pushdecl): Set TYPE_CONTEXT for types
attached to a TYPE_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189196 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/53816
jason [Tue, 3 Jul 2012 03:30:27 +0000 (03:30 +0000)]
PR c++/53816
* class.c (resolves_to_fixed_type_p): Check uses_template_parms
(current_function_decl) instead of processing_template_decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189189 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 3 Jul 2012 01:37:48 +0000 (01:37 +0000)]
2012-07-02  Paolo Carlini  <paolo.carlini@oracle.com>

Revert:
2011-10-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/49561
* include/bits/stl_list.h (_List_base<>::_List_impl::_M_size):
Add in C++0x mode.
(_List_base<>::_List_impl, _List_base<>::_M_get_node,
_List_base<>::_M_put_node, _List_base<>::_List_base(_List_base&&),
list<>::size, list<>::swap, list<>::splice): Use it.
(operator==(const list<>&, const list<>&)): Rewrite in C++0x mode.
* include/bits/list.tcc (list<>::erase): Likewise.
(list<>::merge): Adjust in C++0x mode.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189186 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 3 Jul 2012 00:17:21 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189183 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/53821
jason [Mon, 2 Jul 2012 19:14:58 +0000 (19:14 +0000)]
PR c++/53821
* semantics.c (maybe_add_lambda_conv_op): Don't set
DECL_INTERFACE_KNOWN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189176 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-07-02 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 2 Jul 2012 15:43:56 +0000 (15:43 +0000)]
2012-07-02  Martin Jambor  <mjambor@suse.cz>

PR middle-end/38474
* ipa-prop.c (compute_known_type_jump_func): Put BINFO check before a
dynamic type change check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189164 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
jsm28 [Mon, 2 Jul 2012 14:29:22 +0000 (14:29 +0000)]
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189161 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Mon, 2 Jul 2012 00:18:16 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189105 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sun, 1 Jul 2012 00:17:35 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189098 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sat, 30 Jun 2012 00:17:42 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189092 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * tree-eh.c (lower_try_finally_switch): Really put the location of the
ebotcazou [Fri, 29 Jun 2012 22:39:45 +0000 (22:39 +0000)]
* tree-eh.c (lower_try_finally_switch): Really put the location of the
last statement of the finally block onto the switch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189087 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-06-29 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
ramana [Fri, 29 Jun 2012 09:59:34 +0000 (09:59 +0000)]
2012-06-29  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

* configure: Regenerate.
Backport from mainline.
        2012-03-15  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
* config.gcc (target_type_format_char): New. Document it. Set it for
arm*-*-* .
* configure.ac (gnu_unique_option): Use target_type_format_char
in test.  Comment rationale.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189071 138bc75d-0d04-0410-961f-82ee72b054a4