OSDN Git Service
gccadmin [Sun, 15 Jan 2012 00:18:26 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183189
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Sat, 14 Jan 2012 13:28:05 +0000 (13:28 +0000)]
2012-01-14 Tobias Burnus <burnus@net-b.de>
PR fortran/51800
* resolve.c (build_default_init_expr): Also initialize
nonconstant-length strings with -finit-character=<n>.
2012-01-14 Tobias Burnus <burnus@net-b.de>
PR fortran/51800
* gfortran.dg/init_flag_8.f90: New.
* gfortran.dg/init_flag_9.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183181
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 14 Jan 2012 00:18:26 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183176
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 13 Jan 2012 00:18:33 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183147
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Thu, 12 Jan 2012 17:23:32 +0000 (17:23 +0000)]
Backport from mainline r183129
PR target/51756
* config/avr/avr.c (avr_encode_section_info): Test for absence of
DECL_EXTERNAL when checking for initializers of progmem variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183131
138bc75d-0d04-0410-961f-
82ee72b054a4
mgretton [Thu, 12 Jan 2012 14:45:00 +0000 (14:45 +0000)]
Backport from mainline
2012-01-11 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gcc/config/arm/arm.md (mov_notscc): Use MVN for false condition.
* gcc/testsuite/testsuite/gcc.c-torture/execute/
20120110-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183127
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 12 Jan 2012 10:33:42 +0000 (10:33 +0000)]
* config/i386/i386.md (*zero_extendsidi2_rex64): Correct movl template.
(x86_shift<mode>_adj_1): Remove operand constraint from operand 3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183125
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 12 Jan 2012 00:17:43 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183116
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 11 Jan 2012 00:18:13 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183084
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 10 Jan 2012 16:55:40 +0000 (16:55 +0000)]
Revert:
2008-09-18 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR rtl-opt/37451
* loop-doloop.c (doloop_modify): New argument zero_extend_p and
zero extend count after the correction to it is done.
(doloop_optimize): Update call to doloop_modify, don't zero extend
count before call.
2008-11-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR rtl-opt/37782
* loop-doloop.c (doloop_modify): Add from_mode argument that says what
mode count is in.
(doloop_optimize): Update call to doloop_modify.
testsuite:
* gcc.c-torture/execute/doloop-1.c,
gcc.c-torture/execute/doloop-2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183071
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 10 Jan 2012 00:18:24 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183046
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 9 Jan 2012 22:09:53 +0000 (22:09 +0000)]
gcc/
* config/mips/mips.md (loadgp_newabi_<mode>): Add missing
earlyclobber.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183035
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Mon, 9 Jan 2012 20:03:08 +0000 (20:03 +0000)]
2012-01-09 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/51759
* g++.dg/ipa/pr51759.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183031
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 9 Jan 2012 19:31:14 +0000 (19:31 +0000)]
* gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183026
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 9 Jan 2012 18:21:52 +0000 (18:21 +0000)]
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
purported sigacthandler address isn't null before dereferencing it.
(sparc_is_sighandler): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183021
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Mon, 9 Jan 2012 16:55:16 +0000 (16:55 +0000)]
2012-01-09 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
Backport from mainline
2011-11-04 Jiangning Liu <jiangning.liu@arm.com>
PR rtl-optimization/38644
* config/arm/arm.c (thumb1_expand_epilogue): Add memory barrier
for epilogue having stack adjustment.
2012-01-09 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
Backport from mainline:
2011-11-04 Jiangning Liu <jiangning.liu@arm.com>
PR rtl-optimization/38644
* gcc.target/arm/stack-red-zone.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183019
138bc75d-0d04-0410-961f-
82ee72b054a4
ams [Mon, 9 Jan 2012 11:44:22 +0000 (11:44 +0000)]
2012-01-09 Andrew Stubbs <ams@codesourcery.com>
Backport from mainline:
2012-01-06 Andrew Stubbs <ams@codesourcery.com>
* gcc.target/arm/headmerge-2.c: Adjust scan pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183009
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 9 Jan 2012 09:50:42 +0000 (09:50 +0000)]
PR ada/41929
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
add CFA. Revert back to old code for Solaris 8+ multi-threaded.
(sparc_is_sighandler): Likewise.
(MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183006
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 9 Jan 2012 00:18:32 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182998
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 8 Jan 2012 00:19:04 +0000 (00:19 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182987
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 7 Jan 2012 00:18:43 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182978
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 6 Jan 2012 18:03:30 +0000 (18:03 +0000)]
Backport from mainline
2012-01-06 Arnaud Charlet <charlet@adacore.com>
* c-decl.c (ext_block): Moved up.
(collect_all_refs, for_each_global_decl): Take ext_block into account.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182960
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 6 Jan 2012 14:56:46 +0000 (14:56 +0000)]
gcc/
PR middle-end/48660
* expr.h (copy_blkmode_to_reg): Declare.
* expr.c (copy_blkmode_to_reg): New function.
(expand_assignment): Don't expand register RESULT_DECLs before
the lhs. Use copy_blkmode_to_reg to copy BLKmode values into a
RESULT_DECL register.
(expand_expr_real_1): Handle BLKmode decls when looking for promotion.
gcc/testsuite/
PR middle-end/48660
* g++.dg/pr48660.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182955
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 6 Jan 2012 10:50:38 +0000 (10:50 +0000)]
* ada/acats/overflow.lst: Add
cb20004.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182948
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 6 Jan 2012 00:18:40 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182941
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 5 Jan 2012 22:24:45 +0000 (22:24 +0000)]
PR tree-optimization/51315
* tree-sra.c (tree_non_aligned_mem_for_access_p): New predicate.
(build_accesses_from_assign): Use it instead of tree_non_aligned_mem_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182933
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 5 Jan 2012 00:18:13 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182894
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 4 Jan 2012 21:37:11 +0000 (21:37 +0000)]
PR tree-optimization/51624
* tree-sra.c (build_ref_for_model): When replicating a chain of
COMPONENT_REFs, stop as soon as the offset would become negative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182890
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 4 Jan 2012 09:50:13 +0000 (09:50 +0000)]
2012-01-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49651
* tree-ssa-structalias.c (type_can_have_subvars): New function.
(var_can_have_subvars): Use it.
(get_constraint_for_1): Only consider subfields if there
can be any.
* gcc.dg/tree-ssa/pta-ptrarith-1.c: Adjust.
* gcc.dg/tree-ssa/pta-ptrarith-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182866
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 4 Jan 2012 00:18:27 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182863
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 3 Jan 2012 21:37:41 +0000 (21:37 +0000)]
2012-01-03 Chase Douglas <chase.douglas@canonical.com>
Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/shared_ptr.h: Default copy ctor and assignment.
* include/bits/shared_ptr_base.h: Likewise.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
line numbers.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182859
138bc75d-0d04-0410-961f-
82ee72b054a4
sandra [Tue, 3 Jan 2012 16:43:38 +0000 (16:43 +0000)]
2012-01-03 Sandra Loosemore <sandra@codesourcery.com>
gcc/
Backport from mainline:
2012-01-02 Sandra Loosemore <sandra@codesourcery.com>
* doc/invoke.texi (-flto and related options): Copy-edit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182853
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 3 Jan 2012 14:46:03 +0000 (14:46 +0000)]
2012-01-03 Richard Guenther <rguenther@suse.de>
Backport from mainline
2011-11-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51042
* tree-ssa-pre.c (phi_translate_1): Avoid recursing on
self-referential expressions. Refactor code to avoid duplication.
* gcc.dg/torture/pr51042.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182848
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 3 Jan 2012 13:15:21 +0000 (13:15 +0000)]
2012-01-03 Richard Guenther <rguenther@suse.de>
Backport from mainline
2011-08-10 Richard Guenther <rguenther@suse.de>
PR bootstrap/49907
lto-plugin/
* configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence.
* Makefile.am (AM_CFLAGS): Adjust. Do not build with -Werror.
* configure: Regenerate.
* Makefile.in: Likewise.
* aclocal.m4: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182842
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 3 Jan 2012 12:11:41 +0000 (12:11 +0000)]
2012-01-03 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51070
* tree-loop-distribution.c (generate_builtin): Do not replace
the loop with a builtin if the partition contains statements which
results are used outside of the loop.
(stmt_has_scalar_dependences_outside_loop): Properly handle calls.
* gcc.dg/torture/pr51070.c: New testcase.
* gcc.dg/torture/pr51070-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182840
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 3 Jan 2012 00:18:02 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182824
138bc75d-0d04-0410-961f-
82ee72b054a4
dodji [Mon, 2 Jan 2012 17:08:45 +0000 (17:08 +0000)]
PR debug/49951 - jumpy stepping at end of scope in C++
gcc/cp/
PR debug/49951
* decl.c (cxx_maybe_build_cleanup): Don't set location of the call
to the destructor.
gcc/testsuite/
PR debug/49951
* g++.dg/gcov/gcov-2.C: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182807
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 2 Jan 2012 11:02:10 +0000 (11:02 +0000)]
2012-01-02 Richard Guenther <rguenther@suse.de>
PR bootstrap/51686
* Makefile.def (install-strip-gcc): Depend on install-strip-lto-plugin.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182790
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 2 Jan 2012 10:32:36 +0000 (10:32 +0000)]
* gnatvsn.ads (Current_Year): Bump to 2011.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182784
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 2 Jan 2012 00:18:04 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182779
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sun, 1 Jan 2012 16:12:39 +0000 (16:12 +0000)]
2012-01-01 Thomas König <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/51502
* expr.c (gfc_check_vardef_context): When determining
implicit pure status, also check for variable definition
context. Walk up namespaces until a procedure is
found to reset the implict pure attribute.
* resolve.c (gfc_implicit_pure): Walk up namespaces
until a procedure is found.
2012-01-01 Thomas König <tkoenig@gcc.gnu.org>
Backport from trunk
PR fortran/51502
* lib/gcc-dg.exp (scan-module-absence): New function.
* gfortran.dg/implicit_pure_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182770
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 1 Jan 2012 00:17:58 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182764
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Sat, 31 Dec 2011 00:29:44 +0000 (00:29 +0000)]
Fix thinko in setting target options
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182752
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 31 Dec 2011 00:18:02 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182750
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 30 Dec 2011 11:40:48 +0000 (11:40 +0000)]
2011-12-30 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/51711
* include/bits/regex.h (regex_replace): Fix thinko.
* testsuite/28_regex/algorithms/regex_replace/char/51711.cc: New.
* testsuite/28_regex/algorithms/regex_replace/wchar_t/51711.cc:
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182741
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 30 Dec 2011 00:18:10 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182737
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 29 Dec 2011 00:18:19 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182718
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Wed, 28 Dec 2011 20:53:30 +0000 (20:53 +0000)]
Backport PR 51623 change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182712
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 28 Dec 2011 09:30:16 +0000 (09:30 +0000)]
* gcc.dg/torture/pr50396.c: Use dg-add-options ieee.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182707
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 28 Dec 2011 00:18:33 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182701
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 27 Dec 2011 00:18:13 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182689
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 26 Dec 2011 00:18:23 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182683
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 25 Dec 2011 00:18:05 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182679
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 24 Dec 2011 00:18:28 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182672
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 23 Dec 2011 09:16:08 +0000 (09:16 +0000)]
2011-12-23 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/50396
* simplify-rtx.c (simplify_binary_operation_1): Properly
guard code that only works for integers.
* gcc.dg/torture/pr50396.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182654
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 23 Dec 2011 00:18:14 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182643
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Thu, 22 Dec 2011 19:36:46 +0000 (19:36 +0000)]
2011-12-22 Doug Kwan <dougkwan@google.com>
Backport from mainline
2011-03-23 Julian Brown <julian@codesourcery.com>
* expr.c (expand_expr_real_1): Only use BLKmode for volatile
accesses which are not naturally aligned.
2011-11-20 Joey Ye <joey.ye@arm.com>
* expr.c (expand_expr_real_1): Correctly handle strict volatile
bitfield loads smaller than mode size.
2011-12-22 Doug Kwan <dougkwan@google.com>
Backport from mainline
2011-11-20 Joey Ye <joey.ye@arm.com>
* gcc.dg/volatile-bitfields-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182635
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Thu, 22 Dec 2011 19:23:26 +0000 (19:23 +0000)]
2011-12-22 Toon Moene <toon@moene.org>
PR fortran/51310
* resolve.c (build_default_init_expr): Allow non-allocatable,
non-compile-time-constant-shape arrays to have a default
initializer.
* invoke.texi: Delete the restriction on automatic arrays not
being initialized by -finit-<type>=<constant>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182634
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 22 Dec 2011 17:32:58 +0000 (17:32 +0000)]
PR target/51643
* arm.c (arm_function_ok_for_sibcall): Use DECL_WEAK in previous
change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182629
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 22 Dec 2011 14:28:39 +0000 (14:28 +0000)]
PR target/51643
* arm.c (arm_function_ok_for_sibcall): Don't try to tailcall a
weak function on bare-metal EABI targets.
* gcc.target/arm/sibcall-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182622
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 22 Dec 2011 00:18:33 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182612
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Wed, 21 Dec 2011 18:35:40 +0000 (18:35 +0000)]
PR libstdc++/51626
* include/bits/stl_uninitialized.h (_Construct_default_a_impl): Define
overloaded functions to conditionally use allocator::construct.
(_Construct_default_a): Define to dispatch to appropriate
_Construct_default_a_impl overload.
(__uninitialized_default_a, __uninitialized_default_n_a): Use
_Construct_default_a.
* testsuite/20_util/allocator/51626.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182600
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 21 Dec 2011 12:26:04 +0000 (12:26 +0000)]
Backport from mainline
2011-12-21 Richard Guenther <rguenther@suse.de>
PR lto/41159
* tree-outof-ssa.c (insert_value_copy_on_edge): Use the
mode of the pseudo as destination mode. Only assert that
is equal to the promoted mode of the decl if it is a REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182580
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 21 Dec 2011 12:22:48 +0000 (12:22 +0000)]
* config/alpha/linux-unwind.h: Update copyright years.
(MD_FROB_UPDATE_CONTEXT): New define.
(alpha_frob_update_context): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182579
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 21 Dec 2011 00:18:40 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182559
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 20 Dec 2011 00:18:24 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182515
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 19 Dec 2011 22:24:24 +0000 (22:24 +0000)]
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Adjust
dg-error line numbers.
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182507
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Mon, 19 Dec 2011 16:47:28 +0000 (16:47 +0000)]
2011-12-19 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/51583
* tree-sra.c (load_assign_lhs_subreplacements): Call
force_gimple_operand_gsi when necessary also in case of no
corresponding replacement on the RHS.
* testsuite/gcc.dg/tree-ssa/pr51583.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182488
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 19 Dec 2011 01:57:20 +0000 (01:57 +0000)]
* include/c_global/cmath: Update copyright years.
* include/ext/type_traits.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182469
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 19 Dec 2011 01:49:08 +0000 (01:49 +0000)]
Backport from mainline
2011-11-13 Paolo Carlini <paolo.carlini@oracle.com>
* include/c_global/cmath (atan2, pow): Simplify constraining on the
return type.
Backport from mainline
2011-11-12 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/51083
* include/ext/type_traits.h (__promote): Only define __type member
for integral and floating point types, to prevent math functions
participating in overload resolution for other types.
(__promote_2, __promote_3, __promote_4): Use __promote in default
template argument values, so deduction only succeeds for integral and
floating point types.
* testsuite/26_numerics/cmath/51083.cc: New.
* testsuite/26_numerics/complex/51083.cc: New.
* testsuite/tr1/8_c_compatibility/cmath/51083.cc: New.
* testsuite/tr1/8_c_compatibility/complex/51083.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182468
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 19 Dec 2011 00:34:29 +0000 (00:34 +0000)]
PR libstdc++/50862
* include/std/condition_variable (condition_variable_any::wait): Fix
deadlock and ensure _Lock::lock() is called on exit.
* testsuite/30_threads/condition_variable_any/50862.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182467
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 19 Dec 2011 00:18:06 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182465
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Sun, 18 Dec 2011 22:33:15 +0000 (22:33 +0000)]
PR libstdc++/51540
* include/bits/stl_numeric.h (partial_sum): Adjust doxygen comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182461
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 18 Dec 2011 10:03:44 +0000 (10:03 +0000)]
* configure: Regenerate.
config/
* acx.m4 (Test for GNAT): Update comment and add quotes in final test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182458
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 18 Dec 2011 00:18:09 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182450
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 17 Dec 2011 13:52:10 +0000 (13:52 +0000)]
fix rv-cast[34].C
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182437
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 17 Dec 2011 13:52:02 +0000 (13:52 +0000)]
PR c++/51416
* init.c (build_value_init_noctor): Check for incomplete type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182436
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 17 Dec 2011 00:18:37 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182427
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 16 Dec 2011 23:38:34 +0000 (23:38 +0000)]
* config/sparc/sparc.md (UNSPEC_FRAME_BLOCKAGE): New constant.
(frame_blockage): New expander.
(frame_blockage<P:mode>): New instruction.
* config/sparc/sparc.c (sparc_expand_prologue): When the sequence of
instructions establishing the frame isn't atomic, emit frame blockage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182421
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 16 Dec 2011 22:59:27 +0000 (22:59 +0000)]
PR c++/51331
* class.c (convert_to_base_statically): Just call
build_simple_base_path.
(build_simple_base_path): Check field offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182418
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 16 Dec 2011 00:18:30 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182397
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 15 Dec 2011 23:50:32 +0000 (23:50 +0000)]
Detect infinite recursion condition
gcc/
2011-12-15 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline.
2011-10-28 Chung-Lin Tang <cltang@codesourcery.com>
PR rtl-optimization/49720
* simplify-rtx.c (simplify_relational_operation_1): Detect
infinite recursion condition in "(eq/ne (plus x cst1) cst2)
simplifies to (eq/ne x (cst2 - cst1))" case.
gcc/testsuite/
2011-12-15 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline.
2011-10-28 Chung-Lin Tang <cltang@codesourcery.com>
PR rtl-optimization/49720
* g++.dg/torture/pr49720.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182394
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 15 Dec 2011 22:20:41 +0000 (22:20 +0000)]
Check __GLIBC__ when using __SIGRTMIN
2011-12-15 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
* generic-morestack.c (__generic_morestack_set_initial_sp): Check
__GLIBC__ instead of __linux__ when using __SIGRTMIN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182393
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Thu, 15 Dec 2011 17:55:59 +0000 (17:55 +0000)]
2011-12-15 Andreas Tobler <andreast@fgznet.ch>
Backport from mainline.
2011-12-15 Andreas Tobler <andreast@fgznet.ch>
* config/i386/freebsd.h (TARGET_ASM_FILE_END): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182383
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Thu, 15 Dec 2011 15:25:32 +0000 (15:25 +0000)]
2011-12-15 Tobias Burnus <burnus@net-b.de>
PR fortran/51550
PR fortran/47545
PR fortran/49050
PR fortran/51075
* resolve.c (resolve_fl_derived0): Print not-implemented error
for deferred-length character components.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182373
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 15 Dec 2011 00:18:10 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182351
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 14 Dec 2011 22:33:39 +0000 (22:33 +0000)]
PR c++/51248
* decl.c (copy_type_enum): Also update variants.
(finish_enum): Allow variants of complete enums.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182348
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 14 Dec 2011 16:03:07 +0000 (16:03 +0000)]
PR c++/51406
PR c++/51161
* typeck.c (build_static_cast_1): Fix cast of lvalue to
base rvalue reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182339
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 14 Dec 2011 00:18:41 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182318
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 13 Dec 2011 22:03:05 +0000 (22:03 +0000)]
* lto-streamer-out.c (write_symbol): Use proper 64-bit host type.
* lto-cgraph.c (input_cgraph_opt_section): Use 'int' for offsets.
* lto-streamer-in.c (lto_read_body): Likewise.
(lto_input_toplevel_asms): Likewise.
* lto-section-in.c (lto_create_simple_input_block): Likewise.
* lto-opts.c (lto_read_file_options): Likewise.
* ipa-prop.c (ipa_prop_read_section): Likewise.
* df.h (DF_NOTE): Fix typo in comment.
lto/
* lto.h (lto_parse_hex): Delete.
* lto.c (lto_read_decls): Use 'int' for offsets.
(lto_parse_hex): Make static and return proper 64-bit host type.
(lto_resolution_read): Use proper 64-bit host type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182311
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Tue, 13 Dec 2011 20:19:34 +0000 (20:19 +0000)]
2011-12-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* regmove.c (fixup_match_2): Only access call_used_regs with hard
regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182305
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 13 Dec 2011 00:18:18 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182269
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 12 Dec 2011 19:44:22 +0000 (19:44 +0000)]
PR testsuite/51511
* gcc.dg/pr45819.c: Add -w to dg-options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182261
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 12 Dec 2011 19:43:49 +0000 (19:43 +0000)]
PR middle-end/51510
* calls.c (internal_arg_pointer_based_exp_scan): Don't use
VEC_safe_grow_cleared if idx is smaller than VEC_length.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182260
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 12 Dec 2011 19:43:06 +0000 (19:43 +0000)]
Backported from mainline
2011-12-11 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/51485
* tree-vect-data-refs.c (vect_analyze_data_refs): Give up on
DRs in call stmts.
* g++.dg/vect/pr51485.cc: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182259
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 12 Dec 2011 18:24:31 +0000 (18:24 +0000)]
PR tree-optimization/50569
* tree-sra.c (build_ref_for_model): Replicate a chain of COMPONENT_REFs
in the expression of MODEL instead of just the last one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182253
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 12 Dec 2011 00:17:41 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182216
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Sun, 11 Dec 2011 21:37:55 +0000 (21:37 +0000)]
2011-12-11 Tobias Burnus <burnus@net-b.de>
PR fortran/50923
* trans-decl.c (generate_local_decl): Set TREE_NO_WARNING only
if the front end has printed a warning.
(gfc_generate_function_code): Fix unset-result warning.
2011-12-11 Tobias Burnus <burnus@net-b.de>
PR fortran/50923
* gfortran.dg/warn_function_without_result_2.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182213
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sun, 11 Dec 2011 20:03:43 +0000 (20:03 +0000)]
2011-12-11 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/51338
Backport from trunk
* dependency.c (are_identical_variables): Handle case where
end fields of substring references are NULL.
2011-12-11 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/51338
Backport from trunk
* gfortran.dg/assumed_charlen_substring_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182209
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 11 Dec 2011 00:18:19 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@182197
138bc75d-0d04-0410-961f-
82ee72b054a4