OSDN Git Service

pf3gnuchains/gcc-fork.git
9 years agoDaily bump.
gccadmin [Wed, 18 Apr 2012 00:18:48 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago/cp
paolo [Tue, 17 Apr 2012 17:45:25 +0000 (17:45 +0000)]
/cp
2012-04-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53003
* parser.c (cp_parser_member_declaration): Check that
initializer_token_start is non null before dereferencing it.

/testsuite
2012-04-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53003
* g++.dg/parse/crash59.C: New.

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

9 years ago PR target/53020
uros [Tue, 17 Apr 2012 17:39:06 +0000 (17:39 +0000)]
PR target/53020
* config/i386/sync.md (atomic_<code><mode>): Rename to
atomic_<logic><mode>.

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

9 years ago PR c++/38543
jason [Tue, 17 Apr 2012 14:11:34 +0000 (14:11 +0000)]
PR c++/38543
* pt.c (determine_specialization): Instead of comparing the number
of parms, check that tsubst gives the right answer.

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

9 years ago PR c++/50830
jason [Tue, 17 Apr 2012 14:11:13 +0000 (14:11 +0000)]
PR c++/50830
* pt.c (convert_template_argument): Handle template template
argument packs.

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

9 years ago PR c++/50303
jason [Tue, 17 Apr 2012 14:10:54 +0000 (14:10 +0000)]
PR c++/50303
* pt.c (tsubst_pack_expansion): Use tsubst_expr for template
template parameters.

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

9 years ago2012-04-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
bkoz [Tue, 17 Apr 2012 00:19:12 +0000 (00:19 +0000)]
2012-04-16  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

PR bootstrap/52840
* src/Makefile.am (build-debug): Do not adjust vpath dir, remove
Makefile.tmp
* src/Makefile.in: Adjust as per above.

2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/52689
* libsupc++/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
* libsupc++/Makefile.in: Regenerated.
* src/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
(libstdc___la_SOURCES): Add in compatiblity files, with content
that varies with -DPIC.
* src/Makefile.in: Regenerated.
* src/c++11/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
* src/c++11/Makefile.in: Regenerated.
* src/c++11/compatibility-atomic-c++0x.cc: Guard with PIC.
* src/c++11/compatibility-c++0x.cc: Same.
* src/c++11/future.cc: Consolidate compatibility bits into..
* src/c++11/mutex.cc: Consolidate compatibility bits into..
* src/c++11/compatibility-thread-cxx0x.cc: ...here. New.
* src/c++98/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
* src/c++98/Makefile.in: Regenerated.
* src/c++98/compatibility-list-2.cc: Guard with PIC.
* src/c++98/compatibility.cc: Tweak comments.

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

9 years agoDaily bump.
gccadmin [Tue, 17 Apr 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@186515 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agocompiler: fix infinite recursion in string constant evaluation.
ian [Mon, 16 Apr 2012 23:06:08 +0000 (23:06 +0000)]
compiler: fix infinite recursion in string constant evaluation.

Fixes compilation of incorrect code:
    const f, g = g, f
    func S() []byte { return []byte(f) }

The problem was already handled for numerical constants.

Part of issue 3186 (go).

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

9 years ago2012-04-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 16 Apr 2012 22:43:10 +0000 (22:43 +0000)]
2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>

    * include/ext/pb_ds/detail/pat_trie_/
    constructors_destructor_fn_imps.hpp: Increment after recursion.
    * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Convert
    node_type markup from brief.

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

9 years ago2012-04-16 Uros Bizjak <ubizjak@gmail.com>
uros [Mon, 16 Apr 2012 16:03:51 +0000 (16:03 +0000)]
2012-04-16  Uros Bizjak  <ubizjak@gmail.com>

Backport from mainline
2012-04-12  Uros Bizjak  <ubizjak@gmail.com>

PR target/52932
* config/i386/avx2intrin.h (_mm256_permutevar8x32_ps): Change second
argument type to __m256i.  Update call to __builtin_ia32_permvarsf256.
* config/i386/sse.md (avx2_permvarv8sf): Change operand 1 to V8SI.
(avx2_permvarv8sf, avx2_permvarv8si): Switch operands 1 and 2.
* config/i386/i386.c (bdesc_args) <__builtin_ia32_permvarsf256>:
Update builtin type to V8SF_FTYPE_V8SF_V8SI.
(ix86_expand_vec_perm): Update calls to gen_avx2_permvarv8si and
gen_avx2_permvarv8sf.

testsuite/ChangeLog:

2012-04-16  Uros Bizjak  <ubizjak@gmail.com>

Backport from mainline
2012-04-12  Uros Bizjak  <ubizjak@gmail.com>

PR target/52932
* gcc.target/i386/avx2-vpermps-1.c (avx2_test): Use __m256i type for
second function argument.
* gcc.target/i386/avx2-vpermps-2.c (init_permps): Update declaration.
(calc_permps): Update declaration.  Calculate result correctly.
(avx2_test): Change src2 type to union256i_d.
* gcc.target/i386/avx2-vpermd-2.c (calc_permd): Calculate result
correctly.

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

9 years ago2012-04-16 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 16 Apr 2012 10:02:04 +0000 (10:02 +0000)]
2012-04-16  Martin Jambor  <mjambor@suse.cz>

PR middle-end/52939
* gimple-fold.c (gimple_get_virt_method_for_binfo): Bail out if
fold_ctor_reference returns a zero constant.

* testsuite/g++.dg/ipa/pr52939.C: New test.

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

9 years ago PR c++/52292
jason [Mon, 16 Apr 2012 03:40:34 +0000 (03:40 +0000)]
PR c++/52292
PR c++/52380
* pt.c (coerce_template_parms): Even if we aren't converting we
want to expand argument packs.

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

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

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

9 years ago2012-04-15 Fabien Chêne <fabien@gcc.gnu.org>
fabien [Sun, 15 Apr 2012 20:22:44 +0000 (20:22 +0000)]
2012-04-15  Fabien Chêne  <fabien@gcc.gnu.org>

    PR c++/52465
    * g++.dg/lookup/using52.C: New.

gcc/cp/ChangeLog

2012-04-15  Fabien Chêne  <fabien@gcc.gnu.org>

    PR c++/52465
    * parser.c (cp_parser_class_name): Call strip_using_decl and
    return the target decl.
    * name-lookup.c (strip_using_decl): Returns NULL_TREE if the decl
    to be stripped is NULL_TREE.
    (qualify_lookup): Call strip_using_decl and perform some checks on
    the target decl.

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

9 years ago2012-04-14 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 15 Apr 2012 02:14:39 +0000 (02:14 +0000)]
2012-04-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/52699
* include/bits/random.tcc (independent_bits_engine<>::operator()())
Avoid various overflows; use common_type on result_type and
_RandomNumberEngine::result_type; avoid floating point computations;
other smaller tweaks.

* include/bits/random.tcc (uniform_int_distribution<>::operator())
Use common_type; assume _UniformRandomNumberGenerator::result_type
unsigned; tidy.

* include/bits/stl_algobase.h (__lg(unsigned), __lg(unsigned long),
__lg(unsigned long long)): Add.

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

9 years agoDaily bump.
gccadmin [Sun, 15 Apr 2012 00:18:03 +0000 (00:18 +0000)]
Daily bump.

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

9 years agoDaily bump.
gccadmin [Sat, 14 Apr 2012 00:20:03 +0000 (00:20 +0000)]
Daily bump.

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

9 years ago PR c++/52824
jason [Fri, 13 Apr 2012 19:44:27 +0000 (19:44 +0000)]
PR c++/52824
* pt.c (any_pack_expanson_args_p): New.
(coerce_template_parms): Use it.

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

9 years ago PR c++/52906
jason [Fri, 13 Apr 2012 19:44:15 +0000 (19:44 +0000)]
PR c++/52906
* decl.c (check_tag_decl): Don't complain about attributes if we
don't even have a type.

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

9 years agoDefine _ILP32 and __ILP32__ for x32
hjl [Fri, 13 Apr 2012 18:22:54 +0000 (18:22 +0000)]
Define _ILP32 and __ILP32__ for x32

Backported from mainline
* config/i386/i386-c.c (ix86_target_macros): Define _ILP32
and __ILP32__ for x32.

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

9 years ago2012-04-13 Tom de Vries <tom@codesourcery.com>
vries [Fri, 13 Apr 2012 16:45:16 +0000 (16:45 +0000)]
2012-04-13  Tom de Vries  <tom@codesourcery.com>

Backport from mainline r186419.

2012-04-13  Tom de Vries  <tom@codesourcery.com>

* gcc.dg/pr52734.c: New test.

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

9 years ago2012-04-13 Tom de Vries <tom@codesourcery.com>
vries [Fri, 13 Apr 2012 16:44:18 +0000 (16:44 +0000)]
2012-04-13  Tom de Vries  <tom@codesourcery.com>

Backport from mainline r186418.

2012-04-13  Tom de Vries  <tom@codesourcery.com>

* tree-ssa-tail-merge.c (gsi_advance_bw_nondebug_nonlocal): Add
parameters vuse and vuse_escaped.
(find_duplicate): Init vuse1, vuse2 and vuse_escaped.  Pass to
gsi_advance_bw_nondebug_nonlocal.  Return if vuse_escaped and
vuse1 != vuse2.

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

9 years ago2012-04-13 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 13 Apr 2012 12:27:02 +0000 (12:27 +0000)]
2012-04-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52969
* tree-if-conv.c (predicate_mem_writes): Properly gimplify
the condition for the COND_EXPR and handle predicate negation
by swapping the COND_EXPR arms.

* gcc.dg/torture/pr52969.c: New testcase.

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

9 years ago2012-04-13 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 13 Apr 2012 10:49:16 +0000 (10:49 +0000)]
2012-04-13  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/safe_iterator.h (_BeforeBeginHelper<>::
_S_Is_Beginnest): Add.
* include/debug/forward_list (_BeforeBeginHelper<>::
_S_Is_Beginnest): Likewise.
(_Safe_iterator<>::_M_is_beginnest): Add.
* include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range):
Use the latter.
* testsuite/23_containers/forward_list/debug/splice_after.cc:
Add test.

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

9 years ago2012-04-13 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 13 Apr 2012 09:26:45 +0000 (09:26 +0000)]
2012-04-13  Richard Guenther  <rguenther@suse.de>

PR c/52862
* convert.c (convert_to_pointer): Remove special-casing of
zero.

* gcc.dg/pr52862.c: New testcase.

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

9 years ago2012-04-12 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 13 Apr 2012 01:34:57 +0000 (01:34 +0000)]
2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.h (splice_after(const_iterator,
forward_list&), splice_after(const_iterator, forward_list&,
consst_iterator), splice_after(const_iterator, forward_list&,
const_iterator, const_iterator), merge(forward_list&),
merge(forward_list&, _Comp)): Add per C++11 as published (and
LWG 1310).
* include/debug/forward_list: Adjust.

* include/bits/forward_list.h (splice_after(const_iterator,
forward_list&&, const_iterator)): Only declare.
(_M_transfer_after): Remove.
(_M_splice_after(const_iterator, forward_list&&)): Change signature.
(splice_after(const_iterator, forward_list&&, const_iterator,
const_iterator)): Use the latter.
* include/bits/forward_list.tcc (splice_after(const_iterator,
forward_list&&, const_iterator)): Define here.
(_M_splice_after): Define, use throughout.

* include/bits/forward_list.h (insert_after(const_iterator,
std::initializer_list<_Tp>)): Forward to insert_after(const_iterator,
_InputIterator, _InputIterator).
* include/bits/forward_list.tcc: Remove definition.

* testsuite/23_containers/forward_list/modifiers/6.cc: New.
* testsuite/23_containers/forward_list/operations/1.cc: Adjust.

* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.

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

9 years agoDaily bump.
gccadmin [Fri, 13 Apr 2012 00:17:45 +0000 (00:17 +0000)]
Daily bump.

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

9 years agoFix PR52822 (stable_partition move-assigns object to itself) by
jyasskin [Thu, 12 Apr 2012 21:41:55 +0000 (21:41 +0000)]
Fix PR52822 (stable_partition move-assigns object to itself) by
scanning for the first value that doesn't match the predicate before
starting to rearrange values.

2012-04-03   Jeffrey Yasskin  <jyasskin@google.com>

PR libstdc++/52822
* include/bits/stl_algo.h (__find_if_not): Expose in
C++98 mode.
(__find_if_not_n): Like __find_if_not, but works on and updates a
counted range instead of a bounded range.
(stable_partition): Guarantee !__pred(*__first) in call to
__stable_partition_adaptive() or __inplace_stable_partition().
(__stable_partition_adaptive): Use new precondition to avoid
moving/copying objects onto themselves.  Guarantee new
precondition to recursive calls.
(__inplace_stable_partition): Use new precondition to simplify
base case, remove __last parameter.  Guarantee new precondition to
recursive calls.
* testsuite/25_algorithms/stable_partition/moveable.cc (test02):
Test a sequence that starts with a value matching the predicate.
* testsuite/25_algorithms/stable_partition/pr52822.cc:
Test vectors, which have a destructive self-move-assignment.

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

9 years ago[gcc]
meissner [Thu, 12 Apr 2012 21:00:07 +0000 (21:00 +0000)]
[gcc]
2012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport from mainline
2012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/52775
* config/rs6000/rs6000.h (TARGET_FCFID): Add TARGET_PPC_GPOPT to
the list of options to enable the FCFID instruction.
(TARGET_EXTRA_BUILTINS): Adjust comment.

[gcc/testsuite]
012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport from mainline
2012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/52775
* gcc.target/powerpc/pr52775.c: New file.

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

9 years ago2012-04-12 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 12 Apr 2012 12:50:22 +0000 (12:50 +0000)]
2012-04-12  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52943
* tree-chrec.h (chrec_is_positive): Remove.
* tree-scalar-evolution.c (chrec_is_positive): Move ...
* tree-data-ref.c (chrec_is_positive): ... here.  Make static.
Return false for a constant zero instead of negative.
(analyze_siv_subscript_cst_affine): Handle zero difference
in the initial condition explicitely.

* gcc.dg/torture/pr52943.c: New testcase.

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

9 years ago2012-04-12 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 12 Apr 2012 12:18:23 +0000 (12:18 +0000)]
2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/52942
* include/bits/stl_function.h (_Identity, _Select1st, _Select2nd):
In C++11 mode do not derive from std::unary_function.
* include/ext/functional (identity, select1st, select2nd): Adjust.
* testsuite/23_containers/unordered_map/requirements/52942.cc: New.
* testsuite/23_containers/unordered_set/requirements/52942.cc: Likewise.

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

9 years agoDaily bump.
gccadmin [Thu, 12 Apr 2012 00:19:03 +0000 (00:19 +0000)]
Daily bump.

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

9 years ago PR libstdc++/52924
redi [Wed, 11 Apr 2012 23:13:44 +0000 (23:13 +0000)]
PR libstdc++/52924
* include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add
user-defined destructor.
(_Sp_counted_inplace): Likewise.
* testsuite/20_util/shared_ptr/cons/52924.cc: New.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
line numbers.

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

9 years ago * testsuite/performance/30_threads/future/polling.cc: Adjust.
redi [Wed, 11 Apr 2012 21:47:44 +0000 (21:47 +0000)]
* testsuite/performance/30_threads/future/polling.cc: Adjust.

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

9 years ago PR libstdc++/52591
redi [Wed, 11 Apr 2012 21:13:45 +0000 (21:13 +0000)]
PR libstdc++/52591
* include/bits/stl_vector.h (vector::operator=(vector&&)): Dispatch
to _M_move_assign depending on whether allocator is moved.
(vector::_M_move_assign): Add overloaded functions.
* testsuite/23_containers/vector/52591.cc: New.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/vector/requirements/dr438/
        constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
        constructor_2_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.

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

9 years agoDaily bump.
gccadmin [Wed, 11 Apr 2012 00:18:25 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago PR middle-end/52894
danglin [Tue, 10 Apr 2012 22:11:38 +0000 (22:11 +0000)]
PR middle-end/52894
* varasm.c (process_pending_assemble_externals): Set
pending_assemble_externals_processed true.
(assemble_external): Call assemble_external_real if the pending
assemble externals have been processed.

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

9 years ago Don't use CRLF endings.
mrs [Tue, 10 Apr 2012 08:02:53 +0000 (08:02 +0000)]
Don't use CRLF endings.
* gcc.dg/tree-ssa/vrp59.c: Likewise.
* gcc.dg/tree-ssa/vrp60.c: Likewise.
* gnat.dg/aggr11.adb: Likewise.
* gnat.dg/aggr11_pkg.ads: Likewise.
* gnat.dg/aggr15.adb: Likewise.
* gnat.dg/aggr15.ads: Likewise.
* gnat.dg/aggr17.adb: Likewise.
* gnat.dg/aggr18.adb: Likewise.
* gnat.dg/array14.adb: Likewise.
* gnat.dg/array14.ads: Likewise.
* gnat.dg/array14_pkg.ads: Likewise.
* gnat.dg/array19.adb: Likewise.
* gnat.dg/array19.ads: Likewise.
* gnat.dg/discr27.adb: Likewise.
* gnat.dg/discr27.ads: Likewise.
* gnat.dg/discr35.adb: Likewise.
* gnat.dg/discr35.ads: Likewise.
* gnat.dg/discr6.adb: Likewise.
* gnat.dg/discr6_pkg.ads: Likewise.
* gnat.dg/import1.adb: Likewise.
* gnat.dg/import1.ads: Likewise.
* gnat.dg/loop_address2.adb: Likewise.
* gnat.dg/opt7.adb: Likewise.
* gnat.dg/opt7.ads: Likewise.
* gnat.dg/pointer_variable_bounds.adb: Likewise.
* gnat.dg/pointer_variable_bounds.ads: Likewise.
* gnat.dg/rep_clause2.adb: Likewise.
* gnat.dg/rep_clause2.ads: Likewise.
* gnat.dg/slice2.adb: Likewise.
* gnat.dg/slice2.ads: Likewise.
* gnat.dg/slice6.adb: Likewise.
* gnat.dg/slice6_pkg.ads: Likewise.
* gnat.dg/specs/unchecked_union2.ads: Likewise.
* gnat.dg/taft_type2.adb: Likewise.
* gnat.dg/taft_type2.ads: Likewise.
* gnat.dg/taft_type2_pkg.ads: Likewise.
* gnat.dg/volatile10.adb: Likewise.
* gnat.dg/volatile10_pkg.ads: Likewise.

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

9 years ago * g++.dg/cpp0x/udlit-raw-op.C: Don't use CRLF endings.
mrs [Tue, 10 Apr 2012 07:03:19 +0000 (07:03 +0000)]
* g++.dg/cpp0x/udlit-raw-op.C: Don't use CRLF endings.
* gcc.dg/tree-ssa/vrp59.c: Likewise.
* gcc.dg/tree-ssa/vrp60.c: Likewise.

* gcc.dg/dll-8.c: Remove execute permissions.
* g++.dg/ext/dllexport5.C: Likewise.

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

9 years ago * a-assert.ads: Remove execute permission.
mrs [Tue, 10 Apr 2012 06:07:19 +0000 (06:07 +0000)]
* a-assert.ads: Remove execute permission.
* a-chacon.ads: Likewise.
* a-coteio.ads: Likewise.
* a-envvar.ads: Likewise.
* a-exetim-mingw.ads: Likewise.
* a-fzteio.ads: Likewise.
* a-izteio.ads: Likewise.
* a-lcteio.ads: Likewise.
* a-llctio.ads: Likewise.
* a-scteio.ads: Likewise.
* a-suenco.ads: Likewise.
* a-suenst.ads: Likewise.
* a-suewst.ads: Likewise.
* a-suezst.ads: Likewise.
* a-tirsfi.ads: Likewise.
* a-wichha.ads: Likewise.
* a-zchara.ads: Likewise.
* a-zchhan.ads: Likewise.
* a-zchuni.ads: Likewise.
* a-zrstfi.ads: Likewise.
* aspects.ads: Likewise.
* g-byorma.ads: Likewise.
* g-decstr.ads: Likewise.
* g-encstr.ads: Likewise.
* g-spchge.ads: Likewise.
* g-u3spch.ads: Likewise.
* g-wispch.ads: Likewise.
* g-zspche.ads: Likewise.
* namet-sp.ads: Likewise.
* s-os_lib.ads: Likewise.
* s-regexp.ads: Likewise.
* s-regpat.ads: Likewise.
* s-string.ads: Likewise.
* s-tasloc.ads: Likewise.
* s-utf_32.ads: Likewise.
* sem_aux.ads: Likewise.
* a-assert.adb: Likewise.
* a-chacon.adb: Likewise.
* a-envvar.adb: Likewise.
* a-exetim-mingw.adb: Likewise.
* a-suenco.adb: Likewise.
* a-suenst.adb: Likewise.
* a-suewst.adb: Likewise.
* a-suezst.adb: Likewise.
* a-tirsfi.adb: Likewise.
* a-wichha.adb: Likewise.
* a-zchhan.adb: Likewise.
* a-zchuni.adb: Likewise.
* a-zrstfi.adb: Likewise.
* aspects.adb: Likewise.
* g-byorma.adb: Likewise.
* g-decstr.adb: Likewise.
* g-encstr.adb: Likewise.
* g-spchge.adb: Likewise.
* g-u3spch.adb: Likewise.
* g-wispch.adb: Likewise.
* g-zspche.adb: Likewise.
* namet-sp.adb: Likewise.
* s-except.adb: Likewise.
* s-inmaop-vxworks.adb: Likewise.
* s-os_lib.adb: Likewise.
* s-regexp.adb: Likewise.
* s-regpat.adb: Likewise.
* s-string.adb: Likewise.
* s-tasloc.adb: Likewise.
* s-utf_32.adb: Likewise.
* s-wchcon.adb: Likewise.
* sem_aux.adb: Likewise.

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

9 years agoDaily bump.
gccadmin [Tue, 10 Apr 2012 00:18:10 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago2012-04-09 François Dumont <fdumont@gcc.gnu.org>
fdumont [Mon, 9 Apr 2012 19:12:18 +0000 (19:12 +0000)]
2012-04-09  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/52476
* include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Add.
(_Hashtable<>::_M_rehash): Use the latter.
* testsuite/23_containers/unordered_multimap/insert/52476.cc: New.
* testsuite/23_containers/unordered_multiset/insert/52476.cc: New.

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

9 years ago * lib/target-supports.exp (check_effective_target_sparc_v9): New.
ebotcazou [Mon, 9 Apr 2012 09:24:22 +0000 (09:24 +0000)]
* lib/target-supports.exp (check_effective_target_sparc_v9): New.
(check_effective_target_sync_long_long): Add SPARC case.
(check_effective_target_sync_long_long_runtime): Likewise.
(check_effective_target_sync_int_long): Adjust SPARC case.
(check_effective_target_sync_char_short): Likewise.

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

9 years ago PR target/52717
ebotcazou [Mon, 9 Apr 2012 08:53:37 +0000 (08:53 +0000)]
PR target/52717
* config/sparc/sparc.c (sparc_file_end): Set TREE_PUBLIC explicitly on
the DECL generated for the special GOT helper.

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

9 years ago2012-04-09 Terry Guo <terry.guo@arm.com>
xguo [Mon, 9 Apr 2012 02:21:32 +0000 (02:21 +0000)]
2012-04-09  Terry Guo  <terry.guo@arm.com>

        Backport from mainline
        2012-03-28  Terry Guo  <terry.guo@arm.com>

        * testsuite/Makefile.am (TEST_GCC_EXEC_PREFIX): New.
        * testsuite/Makefile.in: Regenerated.

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

9 years agoDaily bump.
gccadmin [Mon, 9 Apr 2012 00:18:17 +0000 (00:18 +0000)]
Daily bump.

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

9 years agoDaily bump.
gccadmin [Sun, 8 Apr 2012 00:17:59 +0000 (00:17 +0000)]
Daily bump.

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

9 years ago * es.po: Update.
jsm28 [Sat, 7 Apr 2012 23:03:00 +0000 (23:03 +0000)]
* es.po: Update.

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

9 years ago2012-04-07 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 7 Apr 2012 20:27:02 +0000 (20:27 +0000)]
2012-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/52893
Backport from trunk
* frontend-passes.c:  Keep track of wether we are in an implicit
DO loop; do not do function elimination if we are.

2012-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/52893
Backport from trunk
* gfortran.dg/function_optimize_11.f90:  New test.

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

9 years ago2012-04-07 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 7 Apr 2012 19:58:43 +0000 (19:58 +0000)]
2012-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/52668
Backport from trunk
* module.c:  Only mark symbols as use_only if they have been
imported via an only list.

2012-04-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/52668
Backport from trunk
* gfortran.dg/use_only_6.f90: New test.

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

9 years agoDaily bump.
gccadmin [Sat, 7 Apr 2012 00:18:07 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago PR testsuite/50722
mrs [Fri, 6 Apr 2012 15:35:52 +0000 (15:35 +0000)]
PR testsuite/50722
* gcc.dg/pr49994-3.c: Use -w to squelch non-portable warnings.

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

9 years agoRename some internal atomic macros to have a less generic prefix.
walt [Fri, 6 Apr 2012 15:13:09 +0000 (15:13 +0000)]
Rename some internal atomic macros to have a less generic prefix.

2012-04-06  Walter Lee  <walt@tilera.com>

Backport from mainline
2012-03-07  Walter Lee  <walt@tilera.com>

* config/tilepro/atomic.c: Rename "atomic_" prefix to
"arch_atomic_".
(atomic_xor): Rename and move definition to
config/tilepro/atomic.h.
(atomic_nand): Ditto.
* config/tilepro/atomic.h: Rename "atomic_" prefix to
"arch_atomic_".
(arch_atomic_xor): Move from config/tilepro/atomic.c.
(arch_atomic_nand): Ditto.

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

9 years agoFix an unwinding bug for functions with dynamic stack frames.
walt [Fri, 6 Apr 2012 15:06:53 +0000 (15:06 +0000)]
Fix an unwinding bug for functions with dynamic stack frames.

2012-04-06  Walter Lee  <walt@tilera.com>

Backport from mainline
2012-03-07  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.c (tilegx_expand_prologue): Don't generate
REG_CFA_* notes for the stack pointer.
(tilegx_expand_epilogue): Restore stack pointer by adjusting it by
EH_RETURN_STACKADJ_RTX.
* config/tilepro/tilepro.c (tilepro_expand_prologue): Don't
generate REG_CFA_* notes for the stack pointer.
(tilepro_expand_epilogue): Restore stack pointer by adjusting it
by EH_RETURN_STACKADJ_RTX.

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

9 years ago PR c++/52596
jason [Fri, 6 Apr 2012 13:26:14 +0000 (13:26 +0000)]
PR c++/52596
* tree.c (lvalue_kind): Treat a deferred access control SCOPE_REF
as an lvalue.

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

9 years agogcc/
rsandifo [Fri, 6 Apr 2012 08:26:19 +0000 (08:26 +0000)]
gcc/
2012-04-04  Matt Turner  <mattst88@gmail.com>

* doc/install.texi: Correct typo "-mno-lsc" -> "-mno-llsc".

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

9 years ago * config/ia64/ia64.c (ia64_load_pair_ok): Return 0 if the second member
ebotcazou [Fri, 6 Apr 2012 06:45:16 +0000 (06:45 +0000)]
* config/ia64/ia64.c (ia64_load_pair_ok): Return 0 if the second member
of the destination isn't also a FP_REGS register.

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

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

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

9 years agoDaily bump.
gccadmin [Thu, 5 Apr 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@186152 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agosyscall: Add more constants.
ian [Wed, 4 Apr 2012 18:50:24 +0000 (18:50 +0000)]
syscall: Add more constants.

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

9 years agoUse long long in gtm_jmpbuf for x86-64
hjl [Wed, 4 Apr 2012 15:51:15 +0000 (15:51 +0000)]
Use long long in gtm_jmpbuf for x86-64

2012-04-04  H.J. Lu  <hongjiu.lu@intel.com>

Backported from mainline
2012-04-04  H.J. Lu  <hongjiu.lu@intel.com>

PR libitm/52854
* config/x86/target.h (gtm_jmpbuf): Replace long with long long
for x86-64.

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

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

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

9 years agosyscall, net: Fix GNU/Linux netlink code for big-endian systems.
ian [Tue, 3 Apr 2012 23:45:10 +0000 (23:45 +0000)]
syscall, net: Fix GNU/Linux netlink code for big-endian systems.

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

9 years ago PR c++/52796
jason [Tue, 3 Apr 2012 23:37:11 +0000 (23:37 +0000)]
PR c++/52796
* pt.c (tsubst_initializer_list): A pack expansion with no elements
means value-initialization.

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

9 years agomksysinfo.sh: Add some more networking constants.
ian [Tue, 3 Apr 2012 19:42:40 +0000 (19:42 +0000)]
mksysinfo.sh: Add some more networking constants.

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

9 years agogotest: Fix finding functions on PPC.
ian [Tue, 3 Apr 2012 18:27:20 +0000 (18:27 +0000)]
gotest: Fix finding functions on PPC.

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

9 years ago2012-04-03 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 3 Apr 2012 14:30:32 +0000 (14:30 +0000)]
2012-04-03  Richard Guenther  <rguenther@suse.de>

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

PR tree-optimization/52406
* tree-data-ref.h: Update documentation about DR_BASE_OBJECT.
(struct indices): Add unconstrained_base member.
(struct dr_alias): Remove unused vops member.
(DR_UNCONSTRAINED_BASE): New define.
* tree-data-ref.c (dr_analyze_indices): For COMPONENT_REFs
add indices to allow their disambiguation.  Make DR_BASE_OBJECT
be an artificial access that covers the whole indexed object,
or mark it with DR_UNCONSTRAINED_BASE if we cannot do so.  Canonicalize
plain decl base-objects to their MEM_REF variant.
(dr_may_alias_p): When the base-object of either data reference
has unknown size use only points-to information.
(compute_affine_dependence): Make dumps easier to read and
more verbose.
* tree-vect-data-ref.c (vector_alignment_reachable_p): Use
DR_REF when looking for packed references.
(vect_supportable_dr_alignment): Likewise.

* gcc.dg/torture/pr52406.c: New testcase.

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

9 years ago2012-04-03 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 3 Apr 2012 13:05:58 +0000 (13:05 +0000)]
2012-04-03  Richard Guenther  <rguenther@suse.de>

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

PR middle-end/52580
* tree-data-ref.c (subscript_dependence_tester_1): Check
all dimensions for non-conflicting access functions.

* gfortran.dg/vect/pr52580.f: New testcase.

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

9 years ago2012-04-03 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 3 Apr 2012 11:55:24 +0000 (11:55 +0000)]
2012-04-03  Richard Guenther  <rguenther@suse.de>

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

PR middle-end/52493
* tree-ssa-alias.c (ptr_derefs_may_alias_p): Robustify.

* gcc.dg/torture/pr52493.c: New testcase.

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

PR tree-optimization/52678
* tree-vectorizer.h (struct _stmt_vec_info): Add
loop_phi_evolution_part member.
(STMT_VINFO_LOOP_PHI_EVOLUTION_PART): New define.
* tree-vect-loop.c (vect_analyze_scalar_cycles_1): Initialize
STMT_VINFO_LOOP_PHI_EVOLUTION_PART.
* tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer):
Use the cached evolution part and the PHI nodes value from
the loop preheader edge instead of re-analyzing the evolution.

* gfortran.dg/pr52678.f: New testcase.

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

PR tree-optimization/52701
* tree-vect-loop.c (vect_analyze_scalar_cycles_1): Always
compute and set the evolution part of PHI nodes.

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

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

PR tree-optimization/52754
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Only
propagate arbitrary addresses into really plain dereferences.

* gcc.target/i386/pr52754.c: New testcase.

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

9 years ago PR tree-optimization/52835
jakub [Tue, 3 Apr 2012 09:05:00 +0000 (09:05 +0000)]
PR tree-optimization/52835
* tree-data-ref.c (build_rdg): Return NULL if
compute_data_dependences_for_loop failed.

* gfortran.dg/pr52835.f90: New test.

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

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

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

9 years agoUpdate x32 rt_sigreturn syscall number to 0x40000201
hjl [Mon, 2 Apr 2012 17:03:52 +0000 (17:03 +0000)]
Update x32 rt_sigreturn syscall number to 0x40000201

2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>

Backported from mainline
2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
system call number.

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

9 years agoDaily bump.
gccadmin [Mon, 2 Apr 2012 00:17:10 +0000 (00:17 +0000)]
Daily bump.

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

9 years agoDaily bump.
gccadmin [Sun, 1 Apr 2012 00:18:05 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago * tree-cfg.c (call_can_make_abnormal_goto): New predicate.
ebotcazou [Sat, 31 Mar 2012 17:25:10 +0000 (17:25 +0000)]
* tree-cfg.c (call_can_make_abnormal_goto): New predicate.
(stmt_can_make_abnormal_goto): Use it.
(is_ctrl_altering_stmt): Likewise.

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

9 years ago * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
ebotcazou [Sat, 31 Mar 2012 16:24:24 +0000 (16:24 +0000)]
* config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
if it hasn't been previously saved.

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

9 years ago Revert
ebotcazou [Sat, 31 Mar 2012 08:27:52 +0000 (08:27 +0000)]
Revert
2012-03-25  Eric Botcazou  <ebotcazou@adacore.com>

* gcc-interface/decl.c (SS_MARK_NAME): New define.
(gnat_to_gnu_entity) <E_Function>: Prepend leaf attribute on entities
whose name is SS_MARK_NAME.

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

9 years ago2012-03-31 Martin Jambor <mjambor@suse.cz>
jamborm [Sat, 31 Mar 2012 07:11:18 +0000 (07:11 +0000)]
2012-03-31  Martin Jambor  <mjambor@suse.cz>

* tree-ssa-ccp.c (insert_clobbers_for_var): Do not assert that there
is a builtin_stack_save in a dominating BB.

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

9 years ago2012-03-30 Jeffrey Yasskin <jyasskin@gcc.gnu.org>
paolo [Sat, 31 Mar 2012 01:57:14 +0000 (01:57 +0000)]
2012-03-30  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/52799
* include/bits/deque.tcc (emplace): Fix thinko, replace push_front
-> emplace_front, and likewise for *_back.
* testsuite/23_containers/deque/modifiers/emplace/52799.cc: New.
* testsuite/23_containers/list/modifiers/emplace/52799.cc: Likewise.
* testsuite/23_containers/vector/modifiers/emplace/52799.cc: Likewise.

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

9 years agoDaily bump.
gccadmin [Sat, 31 Mar 2012 00:19:07 +0000 (00:19 +0000)]
Daily bump.

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

9 years agolibgo: Update to weekly.2012-03-27 aka go1 release.
ian [Fri, 30 Mar 2012 22:37:03 +0000 (22:37 +0000)]
libgo: Update to weekly.2012-03-27 aka go1 release.

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

9 years agoFile removed in weekly.2012-03-22 release.
ian [Fri, 30 Mar 2012 22:14:03 +0000 (22:14 +0000)]
File removed in weekly.2012-03-22 release.

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

9 years agolibgo: Update to weekly.2012-03-22.
ian [Fri, 30 Mar 2012 22:09:40 +0000 (22:09 +0000)]
libgo: Update to weekly.2012-03-22.

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

9 years agolibgo: Update to weekly.2012-03-13.
ian [Fri, 30 Mar 2012 21:26:46 +0000 (21:26 +0000)]
libgo: Update to weekly.2012-03-13.

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

9 years agosyscall: Convert errno to error after Exitsyscall.
ian [Fri, 30 Mar 2012 21:10:47 +0000 (21:10 +0000)]
syscall: Convert errno to error after Exitsyscall.

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

9 years ago PR libgfortran/52758
uros [Fri, 30 Mar 2012 15:37:51 +0000 (15:37 +0000)]
PR libgfortran/52758
* intrinsics/chmod.c (chmod_func): Remove out-of-bounds
initialization of rwxXstugo.

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

9 years agocompiler: Fix order of evaluation of struct composite literals.
ian [Fri, 30 Mar 2012 04:59:17 +0000 (04:59 +0000)]
compiler: Fix order of evaluation of struct composite literals.

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

9 years ago PR c++/52672
jason [Fri, 30 Mar 2012 03:48:12 +0000 (03:48 +0000)]
PR c++/52672
* gcc/cp/semantics.c (cxx_fold_indirect_ref): Don't attempt to fold
stripped child trees that are not pointer types.

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

9 years agoDaily bump.
gccadmin [Fri, 30 Mar 2012 00:18:05 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago/cp
paolo [Thu, 29 Mar 2012 23:21:02 +0000 (23:21 +0000)]
/cp
2012-03-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/52718
* decl.c (check_default_argument): With -Wzero-as-null-pointer-constant
warn for a zero as null pointer constant default argument.

/testsuite
2012-03-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/52718
* g++.dg/warn/Wzero-as-null-pointer-constant-5.C: New.

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

9 years ago * config/i386/sse.md (avx_h<plusminus_insn>v4df3): Fix results
uros [Thu, 29 Mar 2012 22:07:09 +0000 (22:07 +0000)]
* config/i386/sse.md (avx_h<plusminus_insn>v4df3): Fix results
crossing 128bit lane boundary.

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

9 years ago Backported from mainline
uros [Thu, 29 Mar 2012 19:16:34 +0000 (19:16 +0000)]
Backported from mainline
2012-03-27  Uros Bizjak  <ubizjak@gmail.com>

PR target/52698
* config/i386/i386-protos.h (ix86_legitimize_reload_address):
New prototype.
* config/i386/i386.h (LEGITIMIZE_RELOAD_ADDRESS): New define.
* config/i386/i386.c: Include reload.h.
(ix86_legitimize_reload_address): New function.

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

9 years ago PR c++/52685
jason [Thu, 29 Mar 2012 15:55:42 +0000 (15:55 +0000)]
PR c++/52685
* tree.c (copy_binfo): Handle BINFO_DEPENDENT_BASE_P.

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

9 years ago PR c++/52759
jakub [Thu, 29 Mar 2012 15:05:42 +0000 (15:05 +0000)]
PR c++/52759
* decl.c (start_decl): Don't call maybe_apply_pragma_weak
if processing_template_decl.

* g++.dg/ext/weak4.C: New test.

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

9 years ago PR c++/52743
jason [Thu, 29 Mar 2012 14:45:09 +0000 (14:45 +0000)]
PR c++/52743
* call.c (compare_ics): Handle ck_aggr like ck_list.

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

9 years ago PR c++/52746
jason [Thu, 29 Mar 2012 13:20:18 +0000 (13:20 +0000)]
PR c++/52746
* typeck.c (lookup_destructor): Clear BASELINK_QUALIFIED_P if
we didn't get an explicit scope.
* pt.c (tsubst_baselink): Likewise.

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

9 years agocompiler, libgo: unsafe.{Sizeof,Alignof,Offsetof} return uintptr.
ian [Thu, 29 Mar 2012 03:53:30 +0000 (03:53 +0000)]
compiler, libgo: unsafe.{Sizeof,Alignof,Offsetof} return uintptr.

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

9 years agoDaily bump.
gccadmin [Thu, 29 Mar 2012 00:18:46 +0000 (00:18 +0000)]
Daily bump.

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

9 years agomksysinfo: Fix use of _in6_addr in _zone_net_addr_t.
ian [Wed, 28 Mar 2012 23:19:22 +0000 (23:19 +0000)]
mksysinfo: Fix use of _in6_addr in _zone_net_addr_t.

From Rainer Orth.

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