OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years ago/cp
paolo [Sat, 9 Mar 2013 11:48:53 +0000 (11:48 +0000)]
/cp
2013-03-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56534
* parser.c (cp_parser_elaborated_type_specifier): Don't call
check_elaborated_type_specifier when TREE_CODE (decl) != TYPE_DECL.
* decl.c (check_elaborated_type_specifier): Tidy.

/testsuite
2013-03-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56534
* g++.dg/template/crash115.C: New.

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

11 years ago2013-03-09 François Dumont <fdumont@gcc.gnu.org>
fdumont [Sat, 9 Mar 2013 10:09:51 +0000 (10:09 +0000)]
2013-03-09  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/vector.tcc (vector<>operator=(const vector<>&):
Reset pointers after deallocation when memory can be reused.
* testsuite/23_containers/vector/allocator/minimal.cc: Insert
elements to really challenge C++11 allocator integration.
* testsuite/23_containers/vector/allocator/copy.cc: Likewise.
* testsuite/23_containers/vector/allocator/copy_assign.cc:
Likewise.
* testsuite/23_containers/vector/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/vector/allocator/swap.cc: Likewise and
swap vector back before checks on memory/personality mapping are
performed.

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

11 years agoDaily bump.
gccadmin [Sat, 9 Mar 2013 00:18:38 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago PR ada/52123
ebotcazou [Fri, 8 Mar 2013 08:04:22 +0000 (08:04 +0000)]
PR ada/52123
* seh_init.c (Raise_From_Signal_Handler): Declare as no-return.
(__gnat_SEH_error_handler): Likewise.  Remove final return.

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

11 years ago013-03-08 Joey Ye <joey.ye@arm.com>
jye2 [Fri, 8 Mar 2013 07:25:09 +0000 (07:25 +0000)]
013-03-08  Joey Ye  <joey.ye@arm.com>

    Backport from mainline
    2013-03-06  Joey Ye  <joey.ye@arm.com>

    PR lto/50293
    * gcc.c (convert_white_space): New function.
    (main): Handles white space in function name.

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

11 years agoDaily bump.
gccadmin [Fri, 8 Mar 2013 00:18:43 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago2013-03-06 Joel Sherrill <joel.sherrill@oarcorp.com>
joel [Thu, 7 Mar 2013 15:15:33 +0000 (15:15 +0000)]
2013-03-06  Joel Sherrill <joel.sherrill@oarcorp.com>

* ChangeLog: Correct date to when committed not when submitted.

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

11 years agoDaily bump.
gccadmin [Thu, 7 Mar 2013 00:18:32 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago Backport from mainline
olegendo [Wed, 6 Mar 2013 22:54:11 +0000 (22:54 +0000)]
Backport from mainline
2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/56529
* config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT
instead of TARGET_SH2 for call-table case.  Do not set sh_div_strategy
to SH_DIV_CALL_TABLE for TARGET_SH2.
* config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib
list.
* doc/invoke.texi (SH options): Use table for mdiv= option.  Document
mdiv= call-div1, call-fp, call-table options.

Backport from mainline.
2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/56529
* config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
inclusion list.

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

11 years ago2013-02-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
joel [Wed, 6 Mar 2013 17:42:45 +0000 (17:42 +0000)]
2013-02-22  Sebastian Huber <sebastian.huber@embedded-brains.de>

* config.host (arm*-*-rtemself*): New.
(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
"arm*-*-rtemseabi*" to "arm*-*-rtems*".

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

11 years ago2013-02-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
joel [Wed, 6 Mar 2013 17:41:52 +0000 (17:41 +0000)]
2013-02-22  Sebastian Huber <sebastian.huber@embedded-brains.de>

* config.gcc (arm*-*-rtemself*): New.
(arm*-*-rtems*): Removed.
(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
"arm*-*-rtemseabi*" to "arm*-*-rtems*".

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

11 years ago PR c++/56543
jakub [Wed, 6 Mar 2013 15:27:13 +0000 (15:27 +0000)]
PR c++/56543
* tree.c (strip_typedefs): Don't copy args if they are NULL.

* g++.dg/template/typename20.C: New test.

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

11 years agoDaily bump.
gccadmin [Wed, 6 Mar 2013 00:18:57 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Tue, 5 Mar 2013 00:17:49 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Mon, 4 Mar 2013 00:18:11 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sun, 3 Mar 2013 00:18:28 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sat, 2 Mar 2013 00:18:28 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago2013-03-01 Richard Biener <rguenther@suse.de>
rguenth [Fri, 1 Mar 2013 13:55:11 +0000 (13:55 +0000)]
2013-03-01  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-12-12  Zdenek Dvorak  <ook@ucw.cz>

PR tree-optimization/55481
* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Fall
back to general rewriting if we cannot leave an original biv
definition alone.

* gcc.dg/torture/pr55481.c: New testcase.
* gcc.dg/torture/pr56488.c: Likewise.

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

11 years ago2013-03-01 Richard Biener <rguenther@suse.de>
rguenth [Fri, 1 Mar 2013 12:46:12 +0000 (12:46 +0000)]
2013-03-01  Richard Biener  <rguenther@suse.de>

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

PR middle-end/52888
* gimple-low.c (gimple_check_call_args): Properly account for
compatible aggregate types.

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

11 years agoDaily bump.
gccadmin [Fri, 1 Mar 2013 00:19:13 +0000 (00:19 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Thu, 28 Feb 2013 00:17:22 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago PR libstdc++/56012
redi [Wed, 27 Feb 2013 00:57:36 +0000 (00:57 +0000)]
PR libstdc++/56012
* include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
* testsuite/29_atomics/atomic/operators/56012.cc: New.

PR libstdc++/56011
* include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
missing overload.
* testsuite/29_atomics/atomic/operators/56011.cc: New.

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

11 years agoDaily bump.
gccadmin [Wed, 27 Feb 2013 00:18:03 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago PR target/56453
nickc [Tue, 26 Feb 2013 14:58:17 +0000 (14:58 +0000)]
PR target/56453
Import this patch from the mainline:

2012-08-17  Nick Clifton  <nickc@redhat.com>

* config/fr30/fr30.md (cbranchsi4): Remove mode from comparison.
(branch_true): Likewise.
(branch_false): Likewise.

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

11 years ago PR tree-optimization/56443
jakub [Tue, 26 Feb 2013 10:29:47 +0000 (10:29 +0000)]
PR tree-optimization/56443
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For
overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument
to type_for_mode langhook.

* gcc.dg/torture/pr56443.c: New test.

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

11 years agoDaily bump.
gccadmin [Tue, 26 Feb 2013 00:18:09 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Mon, 25 Feb 2013 00:18:18 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sun, 24 Feb 2013 00:18:47 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sat, 23 Feb 2013 00:18:22 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago PR c++/40405
jason [Fri, 22 Feb 2013 22:26:20 +0000 (22:26 +0000)]
PR c++/40405
* pt.c (push_template_decl_real): Set DECL_INTERFACE_KNOWN
if we got the wrong number of template parms.

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

11 years ago PR c++/56395
jason [Fri, 22 Feb 2013 22:26:08 +0000 (22:26 +0000)]
PR c++/56395
* tree.c (strip_typedefs): Strip typedefs from TYPENAME_TYPE template
args.

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

11 years ago2013-02-22 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 22 Feb 2013 19:48:11 +0000 (19:48 +0000)]
2013-02-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56385
* trans-array.c (structure_alloc_comps): Handle procedure-pointer
components with allocatable result.

2013-02-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/56385
* gfortran.dg/proc_ptr_comp_37.f90: New.

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

11 years agoDaily bump.
gccadmin [Fri, 22 Feb 2013 00:18:20 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoFix regression when writing formatted sequential to a pipe.
jb [Thu, 21 Feb 2013 20:13:04 +0000 (20:13 +0000)]
Fix regression when writing formatted sequential to a pipe.

2013-02-21  Janne Blomqvist  <jb@gcc.gnu.org>

PR libfortran/30162
* io/open.c (test_endfile): Call stell only if size != 0.
* io/unix.c (raw_tell): Revert r194694.
(raw_size): Return size field only for regular files, otherwise 0.

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

11 years ago PR bootstrap/56258
jakub [Thu, 21 Feb 2013 09:42:39 +0000 (09:42 +0000)]
PR bootstrap/56258
* doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item
instead of @itemx.

* gnat-style.texi (@title): Remove @hfill.
* projects.texi: Avoid line wrapping inside of @pxref or
@xref.

* doc/cp-tools.texinfo (Virtual Machine Options): Use just
one @gccoptlist instead of 3 separate ones.

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

11 years agoDaily bump.
gccadmin [Thu, 21 Feb 2013 00:18:36 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago * include/std/streambuf (basic_streambuf): Fix unclosed Doxygen group.
redi [Wed, 20 Feb 2013 23:55:57 +0000 (23:55 +0000)]
* include/std/streambuf (basic_streambuf): Fix unclosed Doxygen group.

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

11 years ago PR libstdc++/55043
redi [Wed, 20 Feb 2013 23:55:48 +0000 (23:55 +0000)]
PR libstdc++/55043
* include/bits/alloc_traits.h (allocator_traits::construct): Disable
unless construction would be well-formed.
(__allow_copy_cons, __check_copy_constructible): Define.
* include/bits/unordered_map.h (__check_copy_constructible): Use as
base class so copy constructor will be deleted if appropriate.
* include/bits/unordered_set.h: Likewise.
* include/std/unordered_set: Include alloc_traits.h.
* include/std/unordered_set: Likewise.
* include/debug/unordered_map.h: Default copy and move constructors.
* include/debug/unordered_set.h: Likewise.
* testsuite/23_containers/unordered_map/55043.cc: Fix test.
* testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
* testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
* testsuite/23_containers/unordered_set/55043.cc: Likewise.
* testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
cannot support incomplete types.
* testsuite/23_containers/unordered_multimap/requirements/53339.cc:
Likewise.
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
dg-error line number.

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

11 years ago PR ada/56271
ebotcazou [Wed, 20 Feb 2013 18:24:15 +0000 (18:24 +0000)]
PR ada/56271
Backport from mainline
2012-05-15  Olivier Hainque  <hainque@adacore.com>

* gcc-interface/Make-lang.in (COMMON_FLAGS_TO_PASS): Use WARN_CFLAGS
instead of trying to mimic it.

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

11 years agoClear hwcap_2 with Sun ld
ro [Wed, 20 Feb 2013 10:02:48 +0000 (10:02 +0000)]
Clear hwcap_2 with Sun ld

Backport from mainline:
2012-06-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* gcc.target/i386/clearcapv2.map: New file.
* gcc.target/i386/i386.exp: Try it first before clearcap.map.

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

11 years agoDaily bump.
gccadmin [Wed, 20 Feb 2013 00:18:42 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:30:27 +0000 (17:30 +0000)]
Backported from mainline
2013-02-19  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56350
* tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
if haven't found reduction or nested cycle operand, rather than
asserting we must find it.

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

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

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:28:11 +0000 (17:28 +0000)]
Backported from mainline
2013-02-19  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56381
* tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument
to fold_build3.

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

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:26:56 +0000 (17:26 +0000)]
Backported from mainline
2013-02-09  Jakub Jelinek  <jakub@redhat.com>

PR other/56245
* regex.c (PTR_INT_TYPE): Define.
(EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE.

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

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:26:04 +0000 (17:26 +0000)]
Backported from mainline
2013-02-08  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56250
* fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize
if type is unsigned and code isn't MULT_EXPR.

* gcc.c-torture/execute/pr56250.c: New test.

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

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:24:37 +0000 (17:24 +0000)]
Backported from mainline
2013-02-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/56241
* init.c (build_vec_init): Don't append NULL values into new_vec.
(build_zero_init_1): Don't push anything into v if recursive call
returned NULL_TREE.
(build_value_init_noctor): Don't push anything into v if
build_value_init call returned NULL_TREE.

* g++.dg/parse/crash61.C: New test.

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

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:22:43 +0000 (17:22 +0000)]
Backported from mainline
2013-02-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/56239
* parser.c (cp_parser_token_starts_cast_expression): Renamed to...
(cp_parser_tokens_start_cast_expression): ... this.  Change parameter
to cp_parser *, call cp_lexer_peek_token first.  For CPP_OPEN_PAREN,
return true only if 2nd token isn't CPP_CLOSE_PAREN.
(cp_parser_cast_expression): Adjust caller.

* g++.dg/parse/pr56239.C: New test.

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

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:21:08 +0000 (17:21 +0000)]
Backported from mainline
2013-02-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/56237
* decl.c (push_local_name): Look at DECL_DISCRIMINATOR (t)
only if DECL_DISCRIMINATOR_SET_P (t) rather than just
DECL_LANG_SPECIFIC (t).

* g++.dg/abi/mangle61.C: New test.

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

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:19:36 +0000 (17:19 +0000)]
Backported from mainline
2013-02-06  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/56217
* omp-low.c (use_pointer_for_field): Return false if
lower_send_shared_vars doesn't generate any copy-out code.

* g++.dg/gomp/pr56217.C: New test.

* testsuite/libgomp.c++/pr56217.C: New test.

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

11 years ago Backported from mainline
jakub [Tue, 19 Feb 2013 17:15:53 +0000 (17:15 +0000)]
Backported from mainline
2012-11-27  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/55110
* tree-vect-loop.c (vectorizable_reduction): Don't assert
that STMT_VINFO_RELATED_STMT of orig_stmt is stmt.

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

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

11 years agoDaily bump.
gccadmin [Tue, 19 Feb 2013 00:18:40 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago * include/std/functional (mem_fn): Qualify to prevent ADL.
redi [Mon, 18 Feb 2013 22:51:23 +0000 (22:51 +0000)]
* include/std/functional (mem_fn): Qualify to prevent ADL.
* testsuite/20_util/function_objects/mem_fn/adl.cc: New.

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

11 years ago * include/bits/hashtable.h: Improve comments.
redi [Mon, 18 Feb 2013 22:51:15 +0000 (22:51 +0000)]
* include/bits/hashtable.h: Improve comments.
* include/bits/hashtable_policy.h: Likewise.

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

11 years ago2013-02-18 Richard Biener <rguenther@suse.de>
rguenth [Mon, 18 Feb 2013 13:46:37 +0000 (13:46 +0000)]
2013-02-18  Richard Biener  <rguenther@suse.de>

Revert
2013-02-04  Richard Biener  <rguenther@suse.de>

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

PR tree-optimization/53844
* tree-ssa-dse.c (dse_possible_dead_store_p): Properly handle
the loop virtual PHI.

* g++.dg/tree-ssa/pr53844.C: New testcase.

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

11 years agoDaily bump.
gccadmin [Mon, 18 Feb 2013 00:18:03 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago2013-02-17 Tobias Burnus <burnus@net-b.de>
mikael [Sun, 17 Feb 2013 22:59:52 +0000 (22:59 +0000)]
2013-02-17  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

Backport from trunk
2013-01-28  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/53537
* symbol.c (gfc_find_sym_tree): Don't look for the symbol outside an
interface block.
(gfc_get_ha_symtree): Let gfc_find_sym_tree lookup the parent namespace.
* decl.c (gfc_match_data_decl): Ditto.
(variable_decl): Remove undeclared type error.
(gfc_match_import): Use renamed instead of original name.

2013-02-17  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

Backport from trunk
2013-01-28  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/53537
* gfortran.dg/import2.f90: Adjust undeclared type error messages.
* gfortran.dg/import8.f90: Likewise.
* gfortran.dg/interface_derived_type_1.f90: Likewise.
* gfortran.dg/import10.f90: New test.
* gfortran.dg/import11.f90: Likewise

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

11 years agoDaily bump.
gccadmin [Sun, 17 Feb 2013 00:21:55 +0000 (00:21 +0000)]
Daily bump.

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

11 years ago PR c++/54276
jason [Sat, 16 Feb 2013 02:07:55 +0000 (02:07 +0000)]
PR c++/54276
* semantics.c (finish_id_expression): Also return the identifier
for an outer local static.

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

11 years agoDaily bump.
gccadmin [Sat, 16 Feb 2013 00:18:15 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago PR c++/52026
jason [Fri, 15 Feb 2013 18:32:12 +0000 (18:32 +0000)]
PR c++/52026
* semantics.c (finish_id_expression): In a template, return
the identifier for a constant variable.

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

11 years ago PR c++/55710
jason [Fri, 15 Feb 2013 18:31:52 +0000 (18:31 +0000)]
PR c++/55710
* semantics.c (maybe_add_lambda_conv_op): Mark static thunk
TREE_USED.

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

11 years ago PR c++/56135
jason [Fri, 15 Feb 2013 18:31:28 +0000 (18:31 +0000)]
PR c++/56135
* pt.c (tsubst_copy_and_build): Don't forget any new
captures that arose from use of dependent names.

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

11 years ago2013-02-15 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 15 Feb 2013 14:20:22 +0000 (14:20 +0000)]
2013-02-15  Tobias Burnus  <burnus@net-b.de>
            Mikael Morin  <mikael@gcc.gnu.org>

        PR fortran/56318
        * simplify.c (gfc_simplify_matmul): Fix result shape
        and matmul result.

2013-02-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56318
        * gcc/testsuite/gfortran.dg/matmul_9.f90: New.

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

11 years agoDaily bump.
gccadmin [Fri, 15 Feb 2013 00:18:32 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago2013-02-14 Rainer Emrich <rainer@emrich-ebersheim.de>
ktietz [Thu, 14 Feb 2013 08:45:09 +0000 (08:45 +0000)]
2013-02-14  Rainer Emrich  <rainer@emrich-ebersheim.de>

        PR target/52123
        * adaint.c (__gnat_check_OWNER_ACL): Cast from pointer via
        SECURITY_DESCRIPTOR *.
        (__gnat_set_OWNER_ACL): Cast from DWORD to ACCESS_MODE.
        (__gnat_portable_spawn): Fix cast to char* const*.
        (add_handle): Cast from pointer via void **.
        (add_handle): Cast from pointer via int *.
        (__gnat_locate_exec_on_path): Cast from pointer via TCHAR *.
        (__gnat_locate_exec_on_path): Cast from pointer via char *.
        * initialize.c (append_arg): Cast from pointer via LPWSTR.
        (__gnat_initialize): Cast from pointer via LPWSTR.
        * seh_init.c (__gnat_SEH_error_handler): Cast from pointer via FARPROC.
        * tracebak.c: Cast from pointer via FARPROC.

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

11 years agoDaily bump.
gccadmin [Thu, 14 Feb 2013 00:18:43 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoWe should not strip subregs of non-scalars during shift expansion.
davem [Wed, 13 Feb 2013 20:26:51 +0000 (20:26 +0000)]
We should not strip subregs of non-scalars during shift expansion.

* expmed.c (expand_shift_1): Only strip scalar integer subregs.

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

11 years ago2012-02-13 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 13 Feb 2013 15:08:59 +0000 (15:08 +0000)]
2012-02-13   Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-01-09  Uros Bizjak  <ubizjak@gmail.com>

        PR fortran/55852
        * gfortran.dg/intrinsic_size_3.f90: Make scan-tree-dump-times
        number matching more robust.

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

11 years agoFix typo in ChangeLog
ktietz [Wed, 13 Feb 2013 10:31:10 +0000 (10:31 +0000)]
Fix typo in ChangeLog

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

11 years agoPR target/52122
ktietz [Wed, 13 Feb 2013 10:20:30 +0000 (10:20 +0000)]
PR target/52122
* Makefile.in (LN_S_RECUSIVE): New.
(adainclude, adalib): Use LN_S_RECURSIVE for copy.

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

11 years agoRevert rev. 195981
ktietz [Wed, 13 Feb 2013 09:59:43 +0000 (09:59 +0000)]
Revert rev. 195981

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

11 years agoDaily bump.
gccadmin [Wed, 13 Feb 2013 00:18:16 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago PR c++/56291
jason [Tue, 12 Feb 2013 17:40:32 +0000 (17:40 +0000)]
PR c++/56291
* semantics.c (sort_constexpr_mem_initializers): Handle
vptr out of order.

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

11 years ago PR target/52122
ktietz [Tue, 12 Feb 2013 15:36:56 +0000 (15:36 +0000)]
    PR target/52122
        * Makefile.in (LN_S_RECUSIVE): New.
        (adainclude, adalib): Use LN_S_RECURSIVE for copy.

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

11 years agoDaily bump.
gccadmin [Tue, 12 Feb 2013 00:18:25 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago Backport from mainline
uros [Mon, 11 Feb 2013 17:27:30 +0000 (17:27 +0000)]
Backport from mainline
2013-02-11  Uros Bizjak  <ubizjak@gmail.com>

PR rtl-optimization/56275
* simplify-rtx.c (avoid_constant_pool_reference): Check that
offset is non-negative and less than cmode size before
calling simplify_subreg.

testsuite/ChangeLog:

Backport from mainline
2013-02-11  Uros Bizjak  <ubizjak@gmail.com>

PR rtl-optimization/56275
* gcc.dg/pr56275.c: New test.

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

11 years ago PR c++/56268
jason [Mon, 11 Feb 2013 16:21:10 +0000 (16:21 +0000)]
PR c++/56268
* semantics.c (classtype_has_nothrow_assign_or_copy_p): Call
maybe_instantiate_noexcept.

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

11 years agoDaily bump.
gccadmin [Mon, 11 Feb 2013 00:18:36 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sun, 10 Feb 2013 00:18:05 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago PR c++/56247
jason [Sat, 9 Feb 2013 20:47:24 +0000 (20:47 +0000)]
PR c++/56247
* pt.c (eq_specializations): Set comparing_specializations.
* tree.c (cp_tree_equal): Check it.
* cp-tree.h: Declare it.

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

11 years ago * lto.c: Include output.h.
uros [Sat, 9 Feb 2013 09:40:08 +0000 (09:40 +0000)]
* lto.c: Include output.h.

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

11 years ago Backport from mainline
uros [Sat, 9 Feb 2013 06:58:54 +0000 (06:58 +0000)]
Backport from mainline
2013-02-08  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/sse.md (FMAMODEM): New mode iterator.
(fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM
mode iterator. Do not use TARGET_SSE_MATH in insn constraint.

2013-02-08  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only
when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set.
* config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto.

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

11 years agoDaily bump.
gccadmin [Sat, 9 Feb 2013 00:18:26 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago[gcc]
meissner [Fri, 8 Feb 2013 19:46:52 +0000 (19:46 +0000)]
[gcc]
2013-02-08  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/56043
* config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass):
If there is no implicit builtin declaration, just return NULL.

[gcc/testsuite]
2013-02-08  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/56043
* gcc.target/powerpc/vsx-mass-1.c: Only run this test on
powerpc*-*-linux*.

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

11 years ago2013-02-08 David Edelsohn <dje.gcc@gmail.com>
dje [Fri, 8 Feb 2013 14:41:43 +0000 (14:41 +0000)]
2013-02-08  David Edelsohn  <dje.gcc@gmail.com>
            Michael Meissner  <meissner@linux.vnet.ibm.com>

        Backport from mainline
        * config/rs6000/rs6000.c (rs6000_option_override_internal): Clear
        MASK_VSX from set_masks if OS_MISSING_ALTIVEC.

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

11 years agoDaily bump.
gccadmin [Fri, 8 Feb 2013 00:17:44 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoFix variable tracking for leaf functions on sparc.
davem [Thu, 7 Feb 2013 23:42:03 +0000 (23:42 +0000)]
Fix variable tracking for leaf functions on sparc.

* dwarf2out.c (based_loc_descr): Perform leaf register remapping
on 'reg'.
* var-tracking.c (vt_add_function_parameter): Test the presence of
HAVE_window_save properly and do not remap argument registers when
we have a leaf function.

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

11 years ago Backport from mainline
uros [Thu, 7 Feb 2013 19:18:27 +0000 (19:18 +0000)]
Backport from mainline
2013-02-07  Uros Bizjak  <ubizjak@gmail.com>

PR bootstrap/56227
* ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT
instead of "ll".
* config/i386/i386.c (ix86_print_operand): Ditto.

lto/ChangeLog:

Backport from mainline
2013-02-07  Uros Bizjak  <ubizjak@gmail.com>

PR bootstrap/56227
* lto.c (lto_resolution_ready): Use %wx instead of
HOST_WIDE_INT_PRINT_HEX_PURE in the argument to internal_error.

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

11 years ago PR target/50678
ebotcazou [Thu, 7 Feb 2013 18:07:58 +0000 (18:07 +0000)]
PR target/50678
* init.c (__darwin_major_version): New function for x86-64/Darwin.
(__gnat_adjust_context_for_raise) [Darwin]: Disable the workaround
on Darwin 12 and above.

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

11 years ago PR target/53040
amodra [Thu, 7 Feb 2013 01:39:21 +0000 (01:39 +0000)]
PR target/53040
* config/rs6000/rs6000.c (rs6000_savres_strategy): When using
static chain, set REST_INLINE_FPRS too.

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

11 years agoDaily bump.
gccadmin [Thu, 7 Feb 2013 00:18:01 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago Backport from mainline
dje [Wed, 6 Feb 2013 15:23:55 +0000 (15:23 +0000)]
    Backport from mainline
        2013-01-25  Michael Haubenwallner  <michael.haubenwallner@salomon.at>

        * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
        * configure: Regenerate.

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

11 years ago PR c++/54122
jason [Wed, 6 Feb 2013 13:42:06 +0000 (13:42 +0000)]
PR c++/54122
* tree.c (lvalue_kind) [INDIRECT_REF]: Don't check for
METHOD_TYPE.

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

11 years agoDaily bump.
gccadmin [Wed, 6 Feb 2013 00:18:27 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago * eo.po: New.
jsm28 [Tue, 5 Feb 2013 23:48:17 +0000 (23:48 +0000)]
* eo.po: New.

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

11 years ago Backport from mainline
dje [Tue, 5 Feb 2013 16:41:08 +0000 (16:41 +0000)]
    Backport from mainline
        2013-02-03  David Edelsohn  <dje.gcc@gmail.com>
                    Andrew Dixie  <andrewd@gentrack.com>

        * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY
        flag set.

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

11 years ago PR libgomp/51376
amodra [Tue, 5 Feb 2013 13:40:25 +0000 (13:40 +0000)]
PR libgomp/51376
PR libgomp/56073
* task.c (GOMP_task): Revert 2011-12-09 change.
(GOMP_taskwait): Likewise.  Instead use atomic load with acquire
barrier to read task->children..
(gomp_barrier_handle_tasks): ..and matching atomic store with
release barrier here when setting parent->children to NULL.

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

11 years ago2013-02-05 Richard Biener <rguenther@suse.de>
rguenth [Tue, 5 Feb 2013 12:56:51 +0000 (12:56 +0000)]
2013-02-05  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-12-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/55107
* tree-ssa-pre.c (struct pre_stats): Remove constified field.
(bitmap_set_replace_value): Add gcc_unreachable.
(do_regular_insertion): Re-write all_same handling.  Insert
an assignment instead of a PHI in this case.
(execute_pre): Do not record constified events.

* gcc.dg/torture/pr55107.c: New testcase.
* gcc.dg/tree-ssa/ssa-pre-5.c: Adjust.

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

11 years ago2013-02-05 Richard Biener <rguenther@suse.de>
rguenth [Tue, 5 Feb 2013 12:54:12 +0000 (12:54 +0000)]
2013-02-05  Richard Biener  <rguenther@suse.de>

PR tree-optimization/54767
* tree-vrp.c (vrp_visit_phi_node): For PHI arguments coming via
backedges drop all symbolical range information.
(execute_vrp): Compute backedges.

* gfortran.fortran-torture/execute/pr54767.f90: New testcase.

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

11 years agoDaily bump.
gccadmin [Tue, 5 Feb 2013 00:18:25 +0000 (00:18 +0000)]
Daily bump.

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