]>
git.ipfire.org Git - thirdparty/gcc.git/log
Jakub Jelinek [Tue, 14 Feb 2012 23:32:39 +0000 (00:32 +0100)]
backport: re PR middle-end/52230 (OpenMP: Simple C program triggers SIGSEGV at execution)
Backported from mainline
2012-02-13 Jakub Jelinek <jakub@redhat.com>
PR middle-end/52230
* omp-low.c (expand_omp_for): If a static schedule without
chunk size has NULL region->cont, force fd.chunk_size to be
integer_zero_node.
From-SVN: r184240
Jakub Jelinek [Tue, 14 Feb 2012 23:31:42 +0000 (00:31 +0100)]
re PR bootstrap/51969 (trunk gcc unable to build gcc 4.6)
PR bootstrap/51969
Backported from mainline
2011-11-08 Michael Matz <matz@suse.de>
* gengtype.c (write_field_root): Avoid out-of-scope access of newv.
From-SVN: r184239
Bin Cheng [Tue, 14 Feb 2012 07:11:06 +0000 (07:11 +0000)]
Missing gcc/ChangeLog.
From-SVN: r184195
Bin Cheng [Tue, 14 Feb 2012 06:57:17 +0000 (06:57 +0000)]
backport: arm.c (arm_libcall_uses_aapcs_base): Use correct ABI for double-precision helper functions in hard-float mode if...
Backport from mainline.
2011-06-08 Julian Brown <julian@codesourcery.com>
* config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI
for double-precision helper functions in hard-float mode if only
single-precision arithmetic is supported in hardware.
From-SVN: r184194
GCC Administrator [Tue, 14 Feb 2012 00:17:59 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r184184
GCC Administrator [Mon, 13 Feb 2012 00:18:31 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184149
GCC Administrator [Sun, 12 Feb 2012 00:17:47 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r184133
Uros Bizjak [Sat, 11 Feb 2012 08:12:42 +0000 (09:12 +0100)]
compare-elim.c (find_comparisons_in_bb): Eliminate only compares having the same mode as previous compare.
* compare-elim.c (find_comparisons_in_bb): Eliminate only compares
having the same mode as previous compare.
From-SVN: r184125
GCC Administrator [Sat, 11 Feb 2012 00:18:36 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184120
Kai Tietz [Fri, 10 Feb 2012 16:45:53 +0000 (17:45 +0100)]
configure.ac (AM_LTLDFLAGS): Add -no-undefine for x64 windows target.
* configure.ac (AM_LTLDFLAGS): Add -no-undefine for x64
windows target.
* configure: Regenerated
From-SVN: r184104
Kai Tietz [Fri, 10 Feb 2012 16:32:36 +0000 (17:32 +0100)]
re PR boehm-gc/48514 ([4.6] boehm gc incorrectly compile using __declspec(dllexport) on i686-w64-mingw32 target)
PR boehm-gc/48514
* include/gc_config_macros.h (GC_DLL): Define it for mingw-targets
only, if we are actual in boehm-gc's build and DLL_EXPORT
is defined.
From-SVN: r184101
Jack Howarth [Fri, 10 Feb 2012 12:34:17 +0000 (12:34 +0000)]
Backport the fix for PR tree-optimization/49536 from mainline.
Patch by Jack Howarth, approved by Richard Guenther.
From-SVN: r184090
GCC Administrator [Fri, 10 Feb 2012 00:17:49 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r184078
Jason Merrill [Thu, 9 Feb 2012 17:52:18 +0000 (12:52 -0500)]
disable scan-assembler tests in g++.dg/abi/mangle60.C
From-SVN: r184064
Jakub Jelinek [Thu, 9 Feb 2012 17:30:39 +0000 (18:30 +0100)]
backport: re PR rtl-optimization/52139 (ICE: in remove_insn, at emit-rtl.c:3960 with -O -fPIC -fno-tree-dominator-opts -fno-tree-fre)
Backported from mainline
2012-02-08 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/52139
* cfgrtl.c (cfg_layout_merge_blocks): If BB_END
is a BARRIER after emit_insn_after_noloc, move BB_END
to the last non-BARRIER insn before it.
* gcc.dg/pr52139.c: New test.
From-SVN: r184062
Jakub Jelinek [Thu, 9 Feb 2012 17:29:38 +0000 (18:29 +0100)]
backport: re PR rtl-optimization/52060 (Invalid constant simplification in combine with parallel result)
Backported from mainline
2012-02-07 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/52060
* combine.c (try_combine): Add i0src_copy and i0src_copy2 variables,
copy i1src to i1src_copy whenever added_sets_2 && i1_feeds_i2_n already
before i1dest -> i1src substitution in newpat, copy i0src to i0src_copy
and/or i0src_copy2 when needed.
* gcc.dg/torture/pr52060.c: New test.
From-SVN: r184061
Jakub Jelinek [Thu, 9 Feb 2012 17:28:22 +0000 (18:28 +0100)]
backport: re PR middle-end/52074 (ICE: RTL flag check: MEM_VOLATILE_P used with unexpected rtx code 'plus' in extract_fixed_bit_field, at expmed.c:1734)
Backported from mainline
2012-02-07 Jakub Jelinek <jakub@redhat.com>
PR middle-end/52074
* expr.c (expand_expr_addr_expr_1): For CONSTANT_CLASS_P or CONST_DECL
if modifier < EXPAND_SUM call force_operand on the result.
* gcc.c-torture/compile/pr52074.c: New test.
From-SVN: r184060
Jakub Jelinek [Thu, 9 Feb 2012 17:27:25 +0000 (18:27 +0100)]
backport: re PR target/52129 (wrong code to pass parameters to tail call function)
Backported from mainline
2012-02-06 Jakub Jelinek <jakub@redhat.com>
PR target/52129
* calls.c (mem_overlaps_already_clobbered_arg_p): If val is
CONST_INT_P, subtract resp. add crtl->args.pretend_args_size to it.
* gcc.c-torture/execute/pr52129.c: New test.
From-SVN: r184059
Jakub Jelinek [Thu, 9 Feb 2012 17:26:29 +0000 (18:26 +0100)]
backport: re PR middle-end/48071 (Blank line after 'all warnings being treated as errors')
Backported from mainline
2012-02-02 Jakub Jelinek <jakub@redhat.com>
PR middle-end/48071
* diagnostic.c (diagnostic_finish): Remove trailing newlines.
From-SVN: r184058
Jakub Jelinek [Thu, 9 Feb 2012 17:25:47 +0000 (18:25 +0100)]
backport: re PR target/52006 (ARM ICE with incorrectly peepholed tls_load_dot_plus_eight)
Backported from mainline
2012-01-28 Jakub Jelinek <jakub@redhat.com>
PR target/52006
* config/arm/arm.md (pic_add_dot_plus_eight peephole2): Use
arm_general_register_operand predicate for operand 2 instead of
register_operand.
* gcc.target/arm/pr52006.c: New test.
From-SVN: r184057
Jakub Jelinek [Thu, 9 Feb 2012 17:24:47 +0000 (18:24 +0100)]
backport: re PR libmudflap/40778 (Mudflap instrumentation missing in cloned function.)
Backported from mainline
2012-01-19 Jakub Jelinek <jakub@redhat.com>
PR libmudflap/40778
* tree-mudflap.c (mf_artificial): New function.
(execute_mudflap_function_ops, execute_mudflap_function_decls,
mx_register_decls, mudflap_enqueue_decl): Use it.
* testsuite/libmudflap.c/fail68-frag.c: New test.
From-SVN: r184056
Jakub Jelinek [Thu, 9 Feb 2012 17:23:13 +0000 (18:23 +0100)]
backport: re PR rtl-optimization/51767 (ICE with degenerated asm goto)
Backported from mainline
2012-01-05 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/51767
* cfgrtl.c (force_nonfallthru_and_redirect): Force addition
of jump_block and add an extra edge for degenerated asm gotos.
* gcc.c-torture/compile/pr51767.c: New test.
From-SVN: r184055
Jakub Jelinek [Thu, 9 Feb 2012 17:21:15 +0000 (18:21 +0100)]
backport: re PR middle-end/51768 (ICE with invalid asm goto)
Backported from mainline
2012-01-05 Jakub Jelinek <jakub@redhat.com>
PR middle-end/51768
* stmt.c (check_unique_operand_names): Don't ICE during error
reporting if i is from labels chain.
* c-c++-common/pr51768.c: New test.
From-SVN: r184054
Jakub Jelinek [Thu, 9 Feb 2012 17:20:09 +0000 (18:20 +0100)]
backport: re PR middle-end/44777 (ICE: SIGSEGV with -fprofile-use in gcc.c-torture/execute/comp-goto-2.c)
Backported from mainline
2012-01-05 Jakub Jelinek <jakub@redhat.com>
PR middle-end/44777
* profile.c (branch_prob): Split bbs that have exit edge
and need a fake entry edge too.
* gcc.dg/tree-prof/pr44777.c: New test.
From-SVN: r184053
Jakub Jelinek [Thu, 9 Feb 2012 17:18:42 +0000 (18:18 +0100)]
backport: re PR debug/51695 (NOTE_INSN_VAR_LOCATION notes are sometimes too large)
Backported from mainline
2012-01-04 Jakub Jelinek <jakub@redhat.com>
PR debug/51695
* dwarf2out.c (output_loc_list): For now drop >= 64KB expressions
in .debug_loc on the floor.
* gcc.dg/pr51695.c: New test.
From-SVN: r184052
Jakub Jelinek [Thu, 9 Feb 2012 17:17:36 +0000 (18:17 +0100)]
backport: re PR c++/51669 (ICE verify-gimple with openmp)
Backported from mainline
2012-01-03 Jakub Jelinek <jakub@redhat.com>
PR c++/51669
* semantics.c (finish_omp_clauses): Call fold_build_cleanup_point_expr
on OMP_CLAUSE_{IF,NUM_THREADS,SCHEDULE_CHUNK}_EXPR.
* g++.dg/gomp/pr51669.C: New test.
From-SVN: r184051
Jakub Jelinek [Thu, 9 Feb 2012 17:16:19 +0000 (18:16 +0100)]
backport: re PR driver/48306 (presence of gcc subdir with . in PATH causes breakdown)
Backported from mainline
2012-01-26 Jakub Jelinek <jakub@redhat.com>
* make-relative-prefix.c (make_relative_prefix_1): Avoid warning
about using preprocessor directives inside of macro arguments.
2012-01-02 Jakub Jelinek <jakub@redhat.com>
* make-relative-prefix.c (make_relative_prefix_1): Avoid
stack overflow if PATH contains just a single entry and
HOST_EXECUTABLE_SUFFIX needs to be used.
PR driver/48306
* make-relative-prefix.c: Include sys/stat.h.
(make_relative_prefix_1): If access succeeds, check also stat
if nstore is a regular file.
From-SVN: r184050
Jakub Jelinek [Thu, 9 Feb 2012 17:15:29 +0000 (18:15 +0100)]
backport: re PR c/51360 (spurious unused-but-set-variable warning for var used in OpenMP pragma)
Backported from mainline
2011-12-15 Jakub Jelinek <jakub@redhat.com>
PR c/51360
* c-parser.c (c_parser_omp_clause_num_threads,
c_parser_omp_clause_schedule): Call mark_exp_read.
* semantics.c (finish_omp_clauses): For OMP_CLAUSE_NUM_THREADS_EXPR
and OMP_CLAUSE_SCHEDULE_CHUNK_EXPR call mark_rvalue_use.
* gcc.dg/gomp/pr51360.c: New test.
* g++.dg/gomp/pr51360.C: New test.
* g++.dg/gomp/pr51360-2.C: New test.
From-SVN: r184049
Jakub Jelinek [Thu, 9 Feb 2012 17:13:50 +0000 (18:13 +0100)]
backport: re PR debug/51517 (Wrong debug information for pointers with negative strides.)
Backported from mainline
2011-12-15 Jakub Jelinek <jakub@redhat.com>
PR debug/51517
* tree-ssa-coalesce.c (coalesce_ssa_name): For !optimize, test
!DECL_IGNORED_P instead of !DECL_ARTIFICIAL.
* trans-decl.c (gfc_get_symbol_decl): Don't set DECL_INITAL on span.
(gfc_trans_deferred_vars): Instead add its runtime initialization
here.
From-SVN: r184048
Peter Bergner [Thu, 9 Feb 2012 14:55:57 +0000 (08:55 -0600)]
backport: re PR middle-end/52140 (Libdfp testcase encounters ICE when compiled with soft-dfp (no -mcpu).)
Backport from mainline
2012-02-09 Peter Bergner <bergner@vnet.ibm.com>
gcc/
PR middle-end/52140
* dojump.c (do_compare_rtx_and_jump): Use SCALAR_FLOAT_MODE_P.
gcc/testsuite/
PR middle-end/52140
* gcc.dg/dfp/pr52140.c: New test.
From-SVN: r184046
Andrey Belevantsev [Thu, 9 Feb 2012 10:10:36 +0000 (14:10 +0400)]
backport: [multiple changes]
2012-02-09 Andrey Belevantsev <abel@ispras.ru>
Backport from mainline
2012-01-20 Andrey Belevantsev <abel@ispras.ru>
PR target/51106
* function.c (instantiate_virtual_regs_in_insn): Use
delete_insn_and_edges when removing a wrong asm insn.
Backport from mainline
2012-01-20 Jakub Jelinek <jakub@redhat.com>
PR target/51106
* gcc.dg/torture/pr51106-1.c: New test.
* gcc.dg/torture/pr51106-2.c: New test.
From-SVN: r184038
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