]>
git.ipfire.org Git - thirdparty/gcc.git/log
GCC Administrator [Thu, 1 Mar 2012 11:53:21 +0000 (11:53 +0000)]
Mark ChangeLog
From-SVN: r184703
GCC Administrator [Thu, 1 Mar 2012 11:53:15 +0000 (11:53 +0000)]
Mark ChangeLog
From-SVN: r184702
GCC Administrator [Thu, 1 Mar 2012 11:53:10 +0000 (11:53 +0000)]
Mark ChangeLog
From-SVN: r184701
GCC Administrator [Thu, 1 Mar 2012 11:53:05 +0000 (11:53 +0000)]
Mark ChangeLog
From-SVN: r184700
GCC Administrator [Thu, 1 Mar 2012 11:53:01 +0000 (11:53 +0000)]
Mark ChangeLog
From-SVN: r184699
GCC Administrator [Thu, 1 Mar 2012 11:52:57 +0000 (11:52 +0000)]
Mark ChangeLog
From-SVN: r184698
GCC Administrator [Thu, 1 Mar 2012 11:52:52 +0000 (11:52 +0000)]
Mark ChangeLog
From-SVN: r184697
GCC Administrator [Thu, 1 Mar 2012 11:52:47 +0000 (11:52 +0000)]
Mark ChangeLog
From-SVN: r184696
GCC Administrator [Thu, 1 Mar 2012 11:52:42 +0000 (11:52 +0000)]
Mark ChangeLog
From-SVN: r184695
GCC Administrator [Thu, 1 Mar 2012 11:52:38 +0000 (11:52 +0000)]
Mark ChangeLog
From-SVN: r184694
GCC Administrator [Thu, 1 Mar 2012 11:52:33 +0000 (11:52 +0000)]
Mark ChangeLog
From-SVN: r184693
GCC Administrator [Thu, 1 Mar 2012 00:17:53 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r184679
Paul Thomas [Wed, 29 Feb 2012 21:24:05 +0000 (21:24 +0000)]
re PR fortran/52386 (ICE in gfc_conv_descriptor_dtyp (realloc LHS related))
2012-02-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/52386
* trans-expr.c (fcncall_realloc_result): Dereference the
descriptor if needed.
2012-02-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/52386
* gfortran.dg/realloc_on_assign_13.f90 : New test.
From-SVN: r184673
GCC Administrator [Wed, 29 Feb 2012 00:17:36 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r184648
GCC Administrator [Tue, 28 Feb 2012 00:19:09 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r184612
Uros Bizjak [Mon, 27 Feb 2012 11:19:03 +0000 (12:19 +0100)]
Revert:
2012-02-02 Uros Bizjak <ubizjak@gmail.com>
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: r184595
GCC Administrator [Mon, 27 Feb 2012 00:19:56 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r184588
GCC Administrator [Sun, 26 Feb 2012 00:18:27 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184580
GCC Administrator [Sat, 25 Feb 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r184567
GCC Administrator [Fri, 24 Feb 2012 00:18:12 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184539
Tobias Burnus [Thu, 23 Feb 2012 22:53:54 +0000 (23:53 +0100)]
re PR fortran/52335 (I/O: -std=f95 rejects valid DELIM= in OPEN)
2012-02-23 Tobias Burnus <burnus@net-b.de>
PR fortran/52335
* io.c (gfc_match_open): Remove bogus F2003 DELIM= check.
2012-02-23 Tobias Burnus <burnus@net-b.de>
PR fortran/52335
* gfortran.dg/io_constraints_10.f90: New.
From-SVN: r184534
Jakub Jelinek [Thu, 23 Feb 2012 18:20:19 +0000 (19:20 +0100)]
backport: re PR tree-optimization/52286 (wrong code bug)
Backported from trunk
2012-02-20 Georg-Johann Lay <avr@gjlay.de>
* gcc.c-torture/execute/pr52286.c: Fix FAIL on 16-bit int platforms.
2012-02-20 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/52286
* fold-const.c (fold_binary_loc): For (X & C1) | C2
optimization use double_int_to_tree instead of build_int_cst_wide,
rewrite to use double_int vars.
* gcc.c-torture/execute/pr52286.c: New test.
From-SVN: r184520
Uros Bizjak [Thu, 23 Feb 2012 17:38:13 +0000 (18:38 +0100)]
re PR c/52290 (internal compiler error: tree check: expected function_decl, have var_decl in start_function, at c-decl.c:7712)
PR c/52290
* c-decl.c (start_function): Exit early if decl1 is not FUNTION_DECL.
testsuite/ChangeLog:
PR c/52290
* gcc.dg/noncompile/pr52290.c: New test.
From-SVN: r184514
GCC Administrator [Thu, 23 Feb 2012 00:19:01 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r184499
Uros Bizjak [Wed, 22 Feb 2012 19:17:42 +0000 (20:17 +0100)]
re PR target/52330 (pr50305.c: valgrind problem on invalid asm)
PR target/52330
* config/i386/i386.c (ix86_print_operand) <case 'H'>: Error out if x
is not offsettable memory reference.
testsuite/ChangeLog:
PR target/52330
* gcc.target/i386/pr52330.c: New test.
From-SVN: r184489
Ulrich Weigand [Wed, 22 Feb 2012 17:38:22 +0000 (17:38 +0000)]
target-supports.exp (check_effective_target_vect_condition): Return true for NEON.
* lib/target-supports.exp (check_effective_target_vect_condition):
Return true for NEON.
From-SVN: r184486
GCC Administrator [Wed, 22 Feb 2012 00:18:31 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184457
Richard Earnshaw [Tue, 21 Feb 2012 23:46:05 +0000 (23:46 +0000)]
re PR target/52294 ([ARM Thumb] generated asm code produces "branch out of range" error in gas with -Os -mcpu=cortex-a9)
PR target/52294
* thumb2.md (thumb2_shiftsi3_short): Split register and
immediate shifts. For register shifts tie operands 0 and 1.
(peephole2 for above): Check that register-controlled shifts
have suitably tied operands.
From-SVN: r184452
Paolo Carlini [Tue, 21 Feb 2012 21:30:44 +0000 (21:30 +0000)]
PR libstdc++/52317 (cont)
2012-02-21 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/52317 (cont)
* include/profile/unordered_map: Ad Library Exception comment.
* include/profile/set: Likewise.
* include/profile/base.h: Likewise.
* include/profile/impl/profiler_list_to_slist.h: Likewise.
* include/profile/impl/profiler_container_size.h: Likewise.
* include/profile/impl/profiler_vector_size.h: Likewise.
* include/profile/impl/profiler_hash_func.h: Likewise.
* include/profile/impl/profiler_trace.h: Likewise.
* include/profile/impl/profiler_list_to_vector.h: Likewise.
* include/profile/impl/profiler_vector_to_list.h: Likewise.
* include/profile/impl/profiler.h: Likewise.
* include/profile/impl/profiler_state.h: Likewise.
* include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
* include/profile/impl/profiler_algos.h: Likewise.
* include/profile/impl/profiler_hashtable_size.h: Likewise.
* include/profile/impl/profiler_node.h: Likewise.
* include/profile/vector: Likewise.
* include/profile/unordered_set: Likewise.
* include/profile/map.h: Likewise.
* include/profile/map: Likewise.
From-SVN: r184449
Kai Tietz [Tue, 21 Feb 2012 14:13:57 +0000 (15:13 +0100)]
bf-ms-layout-3.c: Mark char typed bitfield as extension.
* gcc.dg/bf-ms-layout-3.c: Mark char typed bitfield
as extension.
From-SVN: r184438
Andreas Krebbel [Tue, 21 Feb 2012 11:20:57 +0000 (11:20 +0000)]
s390.md ("fixuns_trunc<mode>si2"): Replace TARGET_HARD_FLOAT with TARGET_HARD_DFP.
2012-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.md ("fixuns_trunc<mode>si2"): Replace
TARGET_HARD_FLOAT with TARGET_HARD_DFP.
From-SVN: r184432
Paolo Carlini [Tue, 21 Feb 2012 10:56:34 +0000 (10:56 +0000)]
re PR libstdc++/52317 (incorrect FSF address)
2012-02-21 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/52317
* python/Makefile.am: Update boilerplate license text to GPLv3.
* include/profile/unordered_map: Likewise.
* include/profile/set: Likewise.
* include/profile/base.h: Likewise.
* include/profile/impl/profiler_list_to_slist.h: Likewise.
* include/profile/impl/profiler_container_size.h: Likewise.
* include/profile/impl/profiler_vector_size.h: Likewise.
* include/profile/impl/profiler_hash_func.h: Likewise.
* include/profile/impl/profiler_trace.h: Likewise.
* include/profile/impl/profiler_list_to_vector.h: Likewise.
* include/profile/impl/profiler_vector_to_list.h: Likewise.
* include/profile/impl/profiler.h: Likewise.
* include/profile/impl/profiler_state.h: Likewise.
* include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
* include/profile/impl/profiler_algos.h: Likewise.
* include/profile/impl/profiler_hashtable_size.h: Likewise.
* include/profile/impl/profiler_node.h: Likewise.
* include/profile/vector: Likewise.
* include/profile/unordered_set: Likewise.
* include/profile/map.h: Likewise.
* include/profile/map: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/
wchar_t/dr1261.cc: Likewise.
* testsuite/21_strings/basic_string/numeric_conversions/
char/dr1261.cc: Likewise.
* testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
From-SVN: r184431
GCC Administrator [Tue, 21 Feb 2012 00:18:21 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184420
Kai Tietz [Mon, 20 Feb 2012 22:09:48 +0000 (23:09 +0100)]
re PR target/52238 (-mms-bitfields: __attribute__ ((aligned (n))) ignored for struct members)
PR target/52238
* stor-layout.c (place_field): Handle desired_align for
ms-bitfields, too.
* gcc.dg/bf-ms-layout-3.c: New testcase.
From-SVN: r184410
Kai Tietz [Mon, 20 Feb 2012 21:28:36 +0000 (22:28 +0100)]
re PR libstdc++/52300 (Gthreads functions linking error at dynamic linking with libstdc++ when using MinGW.)
PR libstdc++/52300
* gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
From-SVN: r184408
Paolo Carlini [Mon, 20 Feb 2012 11:31:01 +0000 (11:31 +0000)]
re PR libstdc++/52309 ([c++0x] unordered_set illegally requires value_type::operator!=)
2012-02-20 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/52309
* include/bits/hashtable_policy.h (_Equality_base<, true,>::
_M_equal(const _Hashtable&)): Compare values with operator==.
* testsuite/23_containers/unordered_set/operators/52309.cc: New.
From-SVN: r184389
GCC Administrator [Mon, 20 Feb 2012 00:18:28 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184384
GCC Administrator [Sun, 19 Feb 2012 00:18:20 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184376
GCC Administrator [Sat, 18 Feb 2012 00:18:05 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184361
Jakub Jelinek [Fri, 17 Feb 2012 14:56:14 +0000 (15:56 +0100)]
re PR testsuite/52296 (FAIL: g++.dg/debug/dwarf2/pr52260.C)
PR testsuite/52296
* g++.dg/debug/dwarf2/pr52260.C: Remove.
From-SVN: r184344
GCC Administrator [Fri, 17 Feb 2012 00:18:21 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184326
Jakub Jelinek [Thu, 16 Feb 2012 08:50:02 +0000 (09:50 +0100)]
re PR debug/52260 (ICE in clone_tree_hash, at dwarf2out.c:7424)
PR debug/52260
* dwarf2out.c (copy_decls_walk): Fill in *slot before traversing
children with clone_tree_hash, not after it.
* g++.dg/debug/dwarf2/pr52260.C: New test.
From-SVN: r184304
GCC Administrator [Thu, 16 Feb 2012 00:21:26 +0000 (00:21 +0000)]
Daily bump.
From-SVN: r184296
Michael Meissner [Wed, 15 Feb 2012 21:17:42 +0000 (21:17 +0000)]
re PR target/52199 (V2DI vec_duplicate ICE on valid code)
[gcc]
2012-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/52199
* config/rs6000/rs6000.c (rs6000_expand_vector_init): Use
force_reg instead of copy_to_reg for better optimization. Force
non-register or memory operands into a register.
[gcc/testsuite]
2012-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/52199
* gcc.target/powerpc/pr52199.c: New file.
From-SVN: r184285
Richard Guenther [Wed, 15 Feb 2012 11:05:26 +0000 (11:05 +0000)]
backport: re PR tree-optimization/46886 (wrong code with -ftree-parallelize-loops -fno-tree-ch)
2012-02-15 Richard Guenther <rguenther@suse.de>
Backport from mainline
2012-02-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46886
* tree-flow.h (do_while_loop_p): Declare.
* tree-ssa-loop-ch.c (do_while_loop_p): Export.
* tree-parloops.c (parallelize_loops): Only parallelize do-while
loops.
* testsuite/libgomp.c/pr46886.c: New testcase.
From-SVN: r184263
Eric Botcazou [Wed, 15 Feb 2012 08:13:22 +0000 (08:13 +0000)]
re PR target/51921 (EH unwinding support is broken)
PR target/51921
PR target/52205
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
Solaris 11 and slightly reformat.
(sparc_is_sighandler): Likewise.
From-SVN: r184256
GCC Administrator [Wed, 15 Feb 2012 00:18:29 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r184249
Jakub Jelinek [Tue, 14 Feb 2012 23:36:19 +0000 (00:36 +0100)]
backport: re PR c++/52247 (ICE with asm goto)
Backported from mainline
2012-02-14 Jakub Jelinek <jakub@redhat.com>
PR c++/52247
* pt.c (tsubst_copy_asm_operands): For LABEL_DECL values call
lookup_label on label's name and set TREE_USED.
* g++.dg/template/asmgoto1.C: New test.
From-SVN: r184244
Jakub Jelinek [Tue, 14 Feb 2012 23:35:15 +0000 (00:35 +0100)]
backport: re PR debug/51950 (fdebug-types-section regression for member pointers)
Backported from mainline
2012-02-14 Jakub Jelinek <jakub@redhat.com>
PR debug/51950
* dwarf2out.c (clone_tree_hash): New function.
(copy_decls_walk): Use it instead of clone_tree.
From-SVN: r184243
Jakub Jelinek [Tue, 14 Feb 2012 23:34:34 +0000 (00:34 +0100)]
backport: re PR c/52181 (merge_decls doesn't handle DECL_USER_ALIGN properly)
Backported from mainline
2012-02-14 Jakub Jelinek <jakub@redhat.com>
PR c/52181
* c-decl.c (merge_decls): Copy DECL_USER_ALIGN bit from olddecl to
newdecl.
* decl.c (duplicate_decls): If olddecl has bigger DECL_ALIGN than
newdecl, copy DECL_ALIGN to newdecl and or DECL_USER_ALIGN bits.
* c-c++-common/pr52181.c: New test.
From-SVN: r184242
Jakub Jelinek [Tue, 14 Feb 2012 23:33:23 +0000 (00:33 +0100)]
backport: cselib.c (dump_cselib_val): Don't assume l->setting_insn is non-NULL.
Backported from mainline
2012-02-13 Jakub Jelinek <jakub@redhat.com>
* cselib.c (dump_cselib_val): Don't assume l->setting_insn is
non-NULL.
From-SVN: r184241
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