OSDN Git Service
redi [Sat, 16 Mar 2013 20:22:30 +0000 (20:22 +0000)]
PR libstdc++/56002
* include/std/mutex (lock_guard, unique_lock, lock): Define without
depending on _GLIBCXX_HAS_GTHREADS.
* testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196710
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 16 Mar 2013 00:17:29 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196693
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Fri, 15 Mar 2013 12:05:45 +0000 (12:05 +0000)]
2013-03-15 Tobias Burnus <burnus@net-b.de>
PR fortran/56615
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Pack arrays
if they are not simply contiguous.
2013-03-15 Tobias Burnus <burnus@net-b.de>
PR fortran/56615
* gfortran.dg/transfer_intrinsic_5.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196676
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 15 Mar 2013 00:18:35 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196668
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 14 Mar 2013 18:52:18 +0000 (18:52 +0000)]
PR target/56351
Backport from mainline
2012-10-22 Julian Brown <julian@codesourcery.com>
* config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Avoid subreg'ing
VFP D registers in big-endian mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196664
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 14 Mar 2013 17:34:55 +0000 (17:34 +0000)]
PR c++/56614
* decl.c (local_variable_p_walkfn): Check DECL_ARTIFICIAL again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196662
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 14 Mar 2013 16:12:37 +0000 (16:12 +0000)]
PR c++/56403
* init.c (build_zero_init_1): Use RECORD_OR_UNION_CODE_P instead
of CLASS_TYPE_P.
* g++.dg/torture/pr56403.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196661
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 14 Mar 2013 00:17:26 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196644
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Wed, 13 Mar 2013 05:32:07 +0000 (05:32 +0000)]
2013-03-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/56575
* expr.c (gfc_default_initializer): Check that a class declared
type has any components.
* resolve.c (resolve_fl_derived0): On failing the test for C437
set the type to BT_UNKNOWN to prevent repeat error messages.
2013-03-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/56575
* gfortran.dg/class_56.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196627
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 13 Mar 2013 00:19:05 +0000 (00:19 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196624
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 12 Mar 2013 00:18:29 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196606
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 11 Mar 2013 00:18:04 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196586
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sun, 10 Mar 2013 18:34:24 +0000 (18:34 +0000)]
2013-03-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/55362
* check.c (array_check): It is an error if a procedure is
passed.
2013-03-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/55362
* gfortran.dg/intrinsic_size_4.f90 : New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196582
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 10 Mar 2013 00:18:31 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196578
138bc75d-0d04-0410-961f-
82ee72b054a4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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