]>
git.ipfire.org Git - thirdparty/gcc.git/log
GCC Administrator [Thu, 9 Feb 2012 00:17:58 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r184031
Tobias Burnus [Wed, 8 Feb 2012 21:29:45 +0000 (22:29 +0100)]
re PR fortran/52151 (Segfault with realloc on assignment and RESHAPE to unallocated LHS)
2012-02-08 Tobias Burnus <burnus@net-b.de>
PR fortran/52151
* trans-expr.c (fcncall_realloc_result): Set also the stride.
2012-02-08 Tobias Burnus <burnus@net-b.de>
PR fortran/52151
* gfortran.dg/realloc_on_assign_12.f90: New.
From-SVN: r184020
GCC Administrator [Wed, 8 Feb 2012 00:18:21 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183990
Eric Botcazou [Tue, 7 Feb 2012 17:24:27 +0000 (17:24 +0000)]
re PR middle-end/51994 (git-1.7.8.3 miscompiled due to negative bitpos from get_inner_reference)
PR middle-end/51994
* expr.c (get_inner_reference): If there is an offset, add a negative
bit position to it (if any).
From-SVN: r183975
Kai Tietz [Tue, 7 Feb 2012 10:49:14 +0000 (11:49 +0100)]
re PR target/40068 (GCC fails to apply dllexport attribute to typeinfo.)
2012-02-07 Kai Tietz <ktietz@redhat.com>
Dave Korn <dave.korn.cygwin@gmail.com>
PR target/40068
* config/i386/winnt-cxx.c (i386_pe_adjust_class_at_definition):
Take care that typinfo gets dllexport-attribute.
Co-Authored-By: Dave Korn <dave.korn.cygwin@gmail.com>
From-SVN: r183963
GCC Administrator [Tue, 7 Feb 2012 00:18:20 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183950
Alan Modra [Mon, 6 Feb 2012 23:41:45 +0000 (10:11 +1030)]
re PR target/52107 (IBM 128bit long double constant loaded inefficiently)
PR target/52107
* config/rs6000/rs6000.c (rs6000_emit_move): Don't create DImode
subregs of TFmode.
From-SVN: r183947
GCC Administrator [Mon, 6 Feb 2012 00:17:35 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r183924
GCC Administrator [Sun, 5 Feb 2012 00:18:08 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183899
GCC Administrator [Sat, 4 Feb 2012 00:18:11 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183886
Tobias Burnus [Fri, 3 Feb 2012 20:37:36 +0000 (21:37 +0100)]
re PR fortran/52093 (Extra parenthesis with Size and Shape functions argument cause internal compiler error: Segmentation fault)
2012-02-03 Tobias Burnus <burnus@net-b.de>
PR fortran/52093
* simplify.c (gfc_simplify_size): Handle INTRINSIC_PARENTHESES.
2012-02-03 Tobias Burnus <burnus@net-b.de>
PR fortran/52093
* gfortran.dg/shape_7.f90: New.
From-SVN: r183877
Paul Thomas [Fri, 3 Feb 2012 18:33:58 +0000 (18:33 +0000)]
re PR fortran/52012 (Wrong-code with realloc on assignment and RESHAPE w/ ORDER=)
2012-02-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/52012
* trans-expr.c (fcncall_realloc_result): Correct calculation of
result offset. If variable shape is correct, retain the bounds,
whatever they are.
2012-02-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/52012
* gfortran.dg/realloc_on_assign_10.f90: New test.
* gfortran.dg/realloc_on_assign_11.f90: New test.
From-SVN: r183874
Kai Tietz [Fri, 3 Feb 2012 10:35:06 +0000 (11:35 +0100)]
re PR java/48512 ([4.6] gcj spec files references incorrectly crtmt.o on i686-w64-mingw32 target)
PR libjava/48512
* configure.ac (THREADSTARTFILESPEC): Don't add crtmet.o file for
w64 windows targets.
* configure: Regenerated.
From-SVN: r183868
Uros Bizjak [Fri, 3 Feb 2012 07:29:31 +0000 (08:29 +0100)]
backport: re PR tree-optimization/51118 (ICE: tree check: expected tree that contains ‘typed’ structure, have ‘block’ in fold_checksum_tree, at fold-const.c:14160)
Backport from mainline:
2011-11-18 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/51118
* fold-const.c (fold_checksum_tree): Check for TS_TYPED structure
before using TREE_TYPE accessor on expr.
From-SVN: r183864
GCC Administrator [Fri, 3 Feb 2012 00:17:56 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r183858
GCC Administrator [Thu, 2 Feb 2012 00:17:57 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r183820
Georg-Johann Lay [Wed, 1 Feb 2012 12:49:34 +0000 (12:49 +0000)]
Fix file naming convention from r183797.
From-SVN: r183799
Georg-Johann Lay [Wed, 1 Feb 2012 12:40:23 +0000 (12:40 +0000)]
backport: re PR rtl-optimization/51374 ([avr] insn combine reorders volatile memory accesses)
gcc/
Backport from mainline r183796
PR rtl-optimization/51374
* combine.c (can_combine_p): Don't allow volatile_refs_p insns
to cross other volatile_refs_p insns.
gcc/testsuite/
Backport from mainline r183796
PR rtl-optimization/51374
* testsuite/gcc.target/avr/torture/pr51374-1.c: New.
From-SVN: r183797
Paolo Carlini [Wed, 1 Feb 2012 11:10:30 +0000 (11:10 +0000)]
re PR libstdc++/51795 (linear_congruential_engine doesn't work correctly)
2012-02-01 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/51795
* include/bits/random.h (linear_congruential_generator): Add
static_assert preventing instantiation for values of 'a' and 'm'
currently handled incorrectly but _Mod::__calc.
* include/bits/random.tcc (seed_seq::generate): Avoid unsafe
uses of _Mod::__calc.
From-SVN: r183795
GCC Administrator [Wed, 1 Feb 2012 00:18:34 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183786
Matthew Gretton-Dann [Tue, 31 Jan 2012 16:00:10 +0000 (16:00 +0000)]
Backport from mainline.
2011-01-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
config/arm/thumb2.md (thumb2_mov_notscc): Use MVN for true
condition.
From-SVN: r183761
Andreas Krebbel [Tue, 31 Jan 2012 15:09:01 +0000 (15:09 +0000)]
s390.md ("*ashr<mode>3_and"): Add missing z196 flag to srak instruction.
2012-01-31 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.md ("*ashr<mode>3_and"): Add missing z196 flag
to srak instruction.
From-SVN: r183760
GCC Administrator [Tue, 31 Jan 2012 00:18:32 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183748
Bin Cheng [Mon, 30 Jan 2012 17:22:04 +0000 (17:22 +0000)]
re PR target/51835 (ARM EABI violation when passing arguments to helper floating functions like __aeabi_d2iz)
2012-01-30 Bin Cheng <bin.cheng@arm.com>
PR target/51835
* config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI
for __aeabi_d2iz/__aeabi_d2uiz with hard-float.
testcases:
PR target/51835
* gcc.target/arm/pr51835.c: New testcase.
From-SVN: r183734
Ramana Radhakrishnan [Mon, 30 Jan 2012 14:35:05 +0000 (14:35 +0000)]
re PR target/50313 (ARM: PIC code references a non-existant label)
Fix PR target/50313
2012-01-30 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
Backport from mainline.
2012-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/50313
* config/arm/arm.c (arm_load_pic_register): Use
gen_pic_load_addr_unified. Delete calls to gen_pic_load_addr_32bit
, gen_pic_add_dot_plus_eight and gen_pic_add_dot_plus_four.
(arm_pic_static_addr): Likewise.
(arm_rtx_costs_1): Adjust cost for UNSPEC_PIC_UNIFIED.
(arm_note_pic_base): Handle UNSPEC_PIC_UNIFIED.
* config/arm/arm.md (UNSPEC_PIC_UNIFIED): Define.
(pic_load_addr_unified): New.
From-SVN: r183727
GCC Administrator [Mon, 30 Jan 2012 00:18:06 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183691
GCC Administrator [Sun, 29 Jan 2012 00:18:01 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183673
Tobias Burnus [Sat, 28 Jan 2012 10:00:13 +0000 (11:00 +0100)]
re PR fortran/52022 (Wrong-code with procedures passed as actual argument)
2012-01-28 Tobias Burnus <burnus@net-b.de>
PR fortran/52022
* trans-expr.c (gfc_conv_procedure_call): Fix passing
of functions, which return allocatables.
2012-01-28 Tobias Burnus <burnus@net-b.de>
PR fortran/52022
* gfortran.dg/dummy_procedure_7.f90: New.
From-SVN: r183665
GCC Administrator [Sat, 28 Jan 2012 00:18:28 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183659
GCC Administrator [Fri, 27 Jan 2012 00:18:24 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183597
GCC Administrator [Thu, 26 Jan 2012 00:18:28 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183546
Jason Merrill [Wed, 25 Jan 2012 16:33:50 +0000 (11:33 -0500)]
re PR target/51934 (FAIL: g++.dg/torture/pr51344.C -O0 (test for excess errors) due to "cdecl attribute ignored" warning)
PR target/51934
* g++.dg/torture/pr51344.C: Limit to x86.
From-SVN: r183526
Richard Guenther [Wed, 25 Jan 2012 15:37:33 +0000 (15:37 +0000)]
tree-ssa-sccvn.c (vn_reference_eq): Also compare if both bases are dereferenced.
2012-01-25 Richard Guenther <rguenther@suse.de>
* tree-ssa-sccvn.c (vn_reference_eq): Also compare if both
bases are dereferenced.
From-SVN: r183523
Tobias Burnus [Wed, 25 Jan 2012 08:11:56 +0000 (09:11 +0100)]
re PR fortran/51966 (ICE in gfc_conv_array_constructor_expr)
2012-01-25 Tobias Burnus <burnus@net-b.de>
PR fortran/51966
* resolve.c (resolve_structure_cons): Only create an
array constructors for nonscalars.
2012-01-25 Tobias Burnus <burnus@net-b.de>
PR fortran/51966
* gfortran.dg/derived_constructor_char_3.f90: New.
From-SVN: r183511
GCC Administrator [Wed, 25 Jan 2012 00:18:42 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183506
Richard Guenther [Tue, 24 Jan 2012 10:23:14 +0000 (10:23 +0000)]
[multiple changes]
2012-01-24 Richard Guenther <rguenther@suse.de>
Forward-port to branch
2010-09-21 Jakub Jelinek <jakub@redhat.com>
PR middle-end/45678
* expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: If
op0 isn't sufficiently aligned and there is movmisalignM
insn for mode, use it to load op0 into a temporary register.
From-SVN: r183471
Tobias Burnus [Tue, 24 Jan 2012 08:35:10 +0000 (09:35 +0100)]
re PR fortran/51948 ([OOP] Rejects valid: Function result value in MOVE_ALLOC, nested in SELECT TYPE)
2012-01-24 Tobias Burnus <burnus@net-b.de>
PR fortran/51948
* check.c (variable_check): Fix checking for
result variables and deeply nested BLOCKs.
2012-01-24 Tobias Burnus <burnus@net-b.de>
PR fortran/51948
* gfortran.dg/move_alloc_12.f90: New.
From-SVN: r183469
GCC Administrator [Tue, 24 Jan 2012 00:18:01 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183461
Andreas Schwab [Mon, 23 Jan 2012 11:12:01 +0000 (11:12 +0000)]
lang.c (java_init_options_struct): Set frontend_set_flag_trapping_math.
* lang.c (java_init_options_struct): Set
frontend_set_flag_trapping_math.
From-SVN: r183426
GCC Administrator [Mon, 23 Jan 2012 00:18:06 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183401
GCC Administrator [Sun, 22 Jan 2012 00:18:32 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183384
Tobias Burnus [Sat, 21 Jan 2012 16:11:47 +0000 (17:11 +0100)]
re PR fortran/51913 ([OOP] bug when submitting a class pointer to a subroutine)
2012-01-21 Tobias Burnus <burnus@net-b.de>
PR fortran/51913
* interface.c (compare_parameter): Fix CLASS comparison.
2012-01-21 Tobias Burnus <burnus@net-b.de>
PR fortran/51913
* gfortran.dg/class_47.f90: New.
From-SVN: r183369
Eric Botcazou [Sat, 21 Jan 2012 15:01:48 +0000 (15:01 +0000)]
re PR ada/46192 (wrong code for renaming of volatile packed array with address clause)
PR ada/46192
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: In the case of a
renaming, preserve the volatileness through the indirection, if any.
From-SVN: r183366
GCC Administrator [Sat, 21 Jan 2012 00:18:01 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183362
Eric Botcazou [Fri, 20 Jan 2012 21:36:14 +0000 (21:36 +0000)]
* cfgrtl.c (rtl_dump_bb): Do not dump insns for {ENTRY|EXIT}_BLOCK.
From-SVN: r183353
Kai Tietz [Fri, 20 Jan 2012 10:35:04 +0000 (11:35 +0100)]
* g++.dg/torture/pr51344.C: Fix typo.
From-SVN: r183331
GCC Administrator [Fri, 20 Jan 2012 00:18:36 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183323
Kai Tietz [Thu, 19 Jan 2012 22:34:29 +0000 (23:34 +0100)]
backport: re PR c++/51344 (cc1plus hangs when compiling)
Backport from trunk
PR c++/51344
* decl2.c (save_template_attributes): Use merge_attributes
instead of chaining up via TREE_CHAIN.
* g++.dg/torture/pr51344.C: New test.
From-SVN: r183315
Tobias Burnus [Thu, 19 Jan 2012 22:21:43 +0000 (23:21 +0100)]
re PR fortran/51904 (ICE on SIZE function evaluation)
2012-01-19 Tobias Burnus <burnus@net-b.de>
PR fortran/51904
*expr.c (gfc_build_intrinsic_call): Also set the symtree.
2012-01-19 Tobias Burnus <burnus@net-b.de>
PR fortran/51904
* gfortran.dg/intrinsic_size_2.f90: New.
From-SVN: r183314
Quentin Neill [Thu, 19 Jan 2012 20:15:29 +0000 (20:15 +0000)]
re PR target/48743 (-march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction")
2012-01-19 Quentin Neill <quentin.neill@amd.com>
PR target/48743
* config/i386/driver-i386.c (host_detect_local_cpu): Also check
family to distinguish PROCESSOR_ATHLON.
From-SVN: r183309
GCC Administrator [Thu, 19 Jan 2012 00:18:45 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183294
Bill Schmidt [Wed, 18 Jan 2012 19:28:19 +0000 (19:28 +0000)]
re PR tree-optimization/49642 (constant part of a macro not optimized away as expected due to splitter)
gcc:
2012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/49642
* ipa-split.c (forbidden_dominators): New variable.
(check_forbidden_calls): New function.
(dominated_by_forbidden): Likewise.
(consider_split): Check for forbidden dominators.
(execute_split_functions): Initialize and free forbidden
dominators info; call check_forbidden_calls.
gcc/testsuite:
2012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/49642
* gcc.dg/tree-ssa/pr49642.c: New test.
From-SVN: r183284
David Edelsohn [Wed, 18 Jan 2012 19:14:48 +0000 (19:14 +0000)]
rs6000.md (call_value_indirect_aix32): Fix typo in mode of operand[4].
* config/rs6000/rs6000.md (call_value_indirect_aix32): Fix typo
in mode of operand[4].
From-SVN: r183282
GCC Administrator [Wed, 18 Jan 2012 00:18:24 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183267
Uros Bizjak [Tue, 17 Jan 2012 07:31:18 +0000 (08:31 +0100)]
* gcc.dg/pr51821.c (dg-options): Add -std=c99.
From-SVN: r183234
GCC Administrator [Tue, 17 Jan 2012 00:18:28 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183227
Jakub Jelinek [Mon, 16 Jan 2012 21:49:58 +0000 (16:49 -0500)]
re PR c++/51854 (ICE in mangle.c with literal of complex floating type)
PR c++/51854
* mangle.c (write_template_arg_literal): Sorry instead of aborting.
From-SVN: r183224
Jason Merrill [Mon, 16 Jan 2012 21:34:26 +0000 (16:34 -0500)]
re PR c++/51868 (Crash when generating the move constructor for a class with a bit field)
PR c++/51868
* typeck.c (build_static_cast_1): Handle bit-fields properly.
From-SVN: r183223
GCC Administrator [Mon, 16 Jan 2012 00:18:56 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183203
Uros Bizjak [Sun, 15 Jan 2012 19:35:15 +0000 (20:35 +0100)]
re PR rtl-optimization/51821 (64bit > 32bit conversion produces incorrect results with optimizations)
PR rtl-optimization/51821
* recog.c (peep2_find_free_register): Determine clobbered registers
from insn pattern.
testsuite/ChangeLog:
PR rtl-optimization/51821
* gcc.dg/pr51821.c: New test.
From-SVN: r183198
GCC Administrator [Sun, 15 Jan 2012 00:18:26 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183189
Tobias Burnus [Sat, 14 Jan 2012 13:28:05 +0000 (14:28 +0100)]
re PR fortran/51800 (Error: Automatic array 'dummy' at (1) cannot have an initializer)
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.
From-SVN: r183181
GCC Administrator [Sat, 14 Jan 2012 00:18:26 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183176
GCC Administrator [Fri, 13 Jan 2012 00:18:33 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183147
Georg-Johann Lay [Thu, 12 Jan 2012 17:23:32 +0000 (17:23 +0000)]
backport: re PR target/51756 (wrong warning: uninitialized variable put into program memory area)
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.
From-SVN: r183131
Matthew Gretton-Dann [Thu, 12 Jan 2012 14:45:00 +0000 (14:45 +0000)]
backport: arm.md (mov_notscc): Use MVN for false condition.
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.
From-SVN: r183127
Uros Bizjak [Thu, 12 Jan 2012 10:33:42 +0000 (11:33 +0100)]
i386.md (*zero_extendsidi2_rex64): Correct movl template.
* config/i386/i386.md (*zero_extendsidi2_rex64): Correct movl template.
(x86_shift<mode>_adj_1): Remove operand constraint from operand 3.
From-SVN: r183125
GCC Administrator [Thu, 12 Jan 2012 00:17:43 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r183116
GCC Administrator [Wed, 11 Jan 2012 00:18:13 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183084
Joseph Myers [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.
From-SVN: r183071
GCC Administrator [Tue, 10 Jan 2012 00:18:24 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r183046
Richard Sandiford [Mon, 9 Jan 2012 22:09:53 +0000 (22:09 +0000)]
mips.md (loadgp_newabi_<mode>): Add missing earlyclobber.
gcc/
* config/mips/mips.md (loadgp_newabi_<mode>): Add missing
earlyclobber.
From-SVN: r183035
Martin Jambor [Mon, 9 Jan 2012 20:03:08 +0000 (21:03 +0100)]
re PR tree-optimization/51759 (miscompile writes past end of bitfield)
2012-01-09 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/51759
* g++.dg/ipa/pr51759.C: New test.
From-SVN: r183031
Eric Botcazou [Mon, 9 Jan 2012 19:31:14 +0000 (19:31 +0000)]
* gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.
From-SVN: r183026
Eric Botcazou [Mon, 9 Jan 2012 18:21:52 +0000 (18:21 +0000)]
sol2-unwind.h (sparc64_is_sighandler): Check that the purported sigacthandler address isn't null before dereferencing it.
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
purported sigacthandler address isn't null before dereferencing it.
(sparc_is_sighandler): Likewise.
From-SVN: r183021
Ramana Radhakrishnan [Mon, 9 Jan 2012 16:55:16 +0000 (16:55 +0000)]
backport: re PR rtl-optimization/38644 (Optimization flag -O1 -fschedule-insns2 causes wrong code)
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.
From-SVN: r183019
Andrew Stubbs [Mon, 9 Jan 2012 11:44:22 +0000 (11:44 +0000)]
backport: headmerge-2.c: Adjust scan pattern.
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.
From-SVN: r183009
Eric Botcazou [Mon, 9 Jan 2012 09:50:42 +0000 (09:50 +0000)]
re PR ada/41929 (64-bit null_pointer_deref1 gnat.dg test consumes all available memory)
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.
From-SVN: r183006
GCC Administrator [Mon, 9 Jan 2012 00:18:32 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r182998
GCC Administrator [Sun, 8 Jan 2012 00:19:04 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r182987
GCC Administrator [Sat, 7 Jan 2012 00:18:43 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r182978
Eric Botcazou [Fri, 6 Jan 2012 18:03:30 +0000 (18:03 +0000)]
backport: c-decl.c (ext_block): Moved up.
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.
From-SVN: r182960
Richard Sandiford [Fri, 6 Jan 2012 14:56:46 +0000 (14:56 +0000)]
re PR middle-end/48660 (ARM ICE in expand_expr_real_1)
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.
From-SVN: r182955
Eric Botcazou [Fri, 6 Jan 2012 10:50:38 +0000 (10:50 +0000)]
* ada/acats/overflow.lst: Add
cb20004 .
From-SVN: r182948
GCC Administrator [Fri, 6 Jan 2012 00:18:40 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r182941
Eric Botcazou [Thu, 5 Jan 2012 22:24:45 +0000 (22:24 +0000)]
re PR tree-optimization/51315 (unaligned memory accesses generated with -ftree-sra)
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.
From-SVN: r182933
GCC Administrator [Thu, 5 Jan 2012 00:18:13 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r182894
Eric Botcazou [Wed, 4 Jan 2012 21:37:11 +0000 (21:37 +0000)]
re PR tree-optimization/51624 (Assert_Failure atree.adb:808 during stage 3)
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.
From-SVN: r182890
Richard Guenther [Wed, 4 Jan 2012 09:50:13 +0000 (09:50 +0000)]
re PR tree-optimization/49651 (nested lambdas and -O3 produced incorrect integer variable increments)
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.
From-SVN: r182866
GCC Administrator [Wed, 4 Jan 2012 00:18:27 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r182863
Chase Douglas [Tue, 3 Jan 2012 21:37:41 +0000 (21:37 +0000)]
shared_ptr.h: Default copy ctor and assignment.
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.
Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
From-SVN: r182859
Sandra Loosemore [Tue, 3 Jan 2012 16:43:38 +0000 (11:43 -0500)]
backport: invoke.texi (-flto and related options): Copy-edit.
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.
From-SVN: r182853
Richard Guenther [Tue, 3 Jan 2012 14:46:03 +0000 (14:46 +0000)]
backport: re PR tree-optimization/51042 (endless recursion in phi_translate)
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.
From-SVN: r182848
Richard Guenther [Tue, 3 Jan 2012 13:15:21 +0000 (13:15 +0000)]
backport: re PR bootstrap/49907 (lto-plugin -Wall in stage1)
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.
From-SVN: r182842
Richard Guenther [Tue, 3 Jan 2012 12:11:41 +0000 (12:11 +0000)]
re PR tree-optimization/51070 (ICE verify_gimple failed)
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.
From-SVN: r182840
GCC Administrator [Tue, 3 Jan 2012 00:18:02 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r182824
Dodji Seketeli [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.
From-SVN: r182807
Richard Guenther [Mon, 2 Jan 2012 11:02:10 +0000 (11:02 +0000)]
re PR bootstrap/51686 ("make install-strip-gcc" didn't install liblto-plugin* files)
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.
From-SVN: r182790
Eric Botcazou [Mon, 2 Jan 2012 10:32:36 +0000 (10:32 +0000)]
* gnatvsn.ads (Current_Year): Bump to 2011.
From-SVN: r182784
GCC Administrator [Mon, 2 Jan 2012 00:18:04 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r182779