Richard Earnshaw [Fri, 2 Apr 2010 08:32:00 +0000 (08:32 +0000)]
re PR target/43469 (ICE trying to compile glibc for ARM thumb2)
PR target/43469
* arm.c (legitimize_tls_address): Adjust call to
gen_tls_load_dot_plus_four.
(arm_note_pic_base): New function.
(arm_cannot_copy_insn_p): Use it.
* thumb2.md (tls_load_dot_plus_four): Rework to avoid use of '+' in
constraint.
From-SVN: r157942
Ralf Wildenhues [Fri, 2 Apr 2010 07:49:06 +0000 (07:49 +0000)]
Revert: Fix dependency of out_object_file on gt header for out_file.
gcc/:
PR bootstrap/43531
Revert:
2009-09-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.in ($(out_object_file)): Depend on
gt-$(basename $(notdir $(out_file))).h.
From-SVN: r157941
Ralf Corsepius [Fri, 2 Apr 2010 03:06:20 +0000 (05:06 +0200)]
Fix indentation.
From-SVN: r157940
Ralf Corsepius [Fri, 2 Apr 2010 03:02:18 +0000 (05:02 +0200)]
config.host: Add lm32-*-rtems*.
2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* config.host: Add lm32-*-rtems*.
From-SVN: r157939
Ralf Corsepius [Fri, 2 Apr 2010 03:00:24 +0000 (05:00 +0200)]
[multiple changes]
2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* config.gcc (lm32-*-rtems*): Add t-lm32.
2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* config.gcc: Add lm32-*-rtems*.
* config/lm32/rtems.h: New file.
From-SVN: r157938
Ralf Corsepius [Fri, 2 Apr 2010 02:59:07 +0000 (04:59 +0200)]
[multiple changes]
2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* config.gcc (lm32-*-rtems*): Add t-lm32.
2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* config.gcc: Add lm32-*-rtems*.
* config/lm32/rtems.h: New file.
From-SVN: r157937
GCC Administrator [Fri, 2 Apr 2010 00:21:40 +0000 (00:21 +0000)]
Daily bump.
From-SVN: r157936
Janne Blomqvist [Thu, 1 Apr 2010 20:51:45 +0000 (23:51 +0300)]
PR libfortran/43605 FTELL intrinsic, take 2.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
From-SVN: r157932
Dave Korn [Thu, 1 Apr 2010 20:24:35 +0000 (20:24 +0000)]
re PR target/42609 (undesired operation when working with mno-cygwin)
PR target/42609
* config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin.
From-SVN: r157931
Jakub Jelinek [Thu, 1 Apr 2010 19:45:02 +0000 (21:45 +0200)]
dwarf2out.c (output_compilation_unit_header): For -gdwarf-4 use version 4 instead of version 3.
* dwarf2out.c (output_compilation_unit_header): For
-gdwarf-4 use version 4 instead of version 3.
(output_line_info): For version 4 and above emit additional
maximum ops per insn header field.
(DWARF_LINE_DEFAULT_MAX_OPS_PER_INSN): Define.
* dwarf2out.c (is_c_family, is_java): Remove.
(lower_bound_default): New function.
(add_bound_info, gen_descr_array_type_die): Use it.
From-SVN: r157930
Dodji Seketeli [Thu, 1 Apr 2010 18:54:30 +0000 (18:54 +0000)]
re PR debug/43325 (C++ external inner reference does not override outer scope)
Fix for PR debug/43325
gcc/ChangeLog:
PR debug/43325
* dwarf2out.c (gen_variable_die): Allow debug info for variable
re-declaration when it happens in a function.
gcc/testsuite/ChangeLog:
PR debug/43325
* c-c++-common/dwarf2/redeclaration-1.C: New test.
From-SVN: r157928
Jason Merrill [Thu, 1 Apr 2010 18:48:46 +0000 (14:48 -0400)]
decl.c (next_initializable_field): No longer static.
* decl.c (next_initializable_field): No longer static.
* cp-tree.h: Declare it.
* call.c (build_aggr_conv): Fail if there are more initializers
than initializable fields.
From-SVN: r157927
Jason Merrill [Thu, 1 Apr 2010 18:48:34 +0000 (14:48 -0400)]
semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node instead of void_zero_node.
* semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node
instead of void_zero_node.
From-SVN: r157926
Diego Novillo [Thu, 1 Apr 2010 18:35:28 +0000 (14:35 -0400)]
MAINTAINERS (Plugin): Add myself and Le-Chun Wu.
* MAINTAINERS (Plugin): Add myself and Le-Chun Wu.
From-SVN: r157925
Paul Thomas [Thu, 1 Apr 2010 18:22:00 +0000 (18:22 +0000)]
transfer.c: Update copyright.
2010-04-01 Paul Thomas <pault@gcc.gnu.org>
* io/transfer.c : Update copyright.
* io/unix.c : ditto
* io/read.c : ditto
* io/io.h : ditto
* io/unix.h : ditto
* io/inquire.c : ditto
* io/format.c : ditto
* io/list_read.c : ditto
* runtime/error.c : ditto
* libgfortran.h : ditto
* intrinsics/date_and_time.c: ditto
* intrinsics/args.c : ditto
From-SVN: r157924
Paul Thomas [Thu, 1 Apr 2010 18:06:05 +0000 (18:06 +0000)]
ioparm.def: Update copyright.
2010-04-01 Paul Thomas <pault@gcc.gnu.org>
* ioparm.def : Update copyright.
* lang.opt : ditto
* trans-array.c : ditto
* trans-array.h : ditto
* expr.c: ditto
* trans-types.c: ditto
* dependency.c : ditto
* gfortran.h : ditto
* options.c : ditto
* trans-io.c : ditto
* trans-intrinsic.c : ditto
* libgfortran.h : ditto
* invoke.texi : ditto
* intrinsic.texi : ditto
* trans.c : ditto
* trans.h : ditto
* intrinsic.c : ditto
* interface.c : ditto
* iresolve.c : ditto
* trans-stmt.c : ditto
* trans-stmt.h : ditto
* parse,c : ditto
* match.h : ditto
* error.c : ditto
From-SVN: r157923
Aldy Hernandez [Thu, 1 Apr 2010 17:33:32 +0000 (17:33 +0000)]
cgraph.c (cgraph_add_function_insertion_hook): Update comment.
* cgraph.c (cgraph_add_function_insertion_hook): Update comment.
(cgraph_remove_function_insertion_hook): Same.
(cgraph_call_function_insertion_hooks): Same.
From-SVN: r157920
Ralf Wildenhues [Thu, 1 Apr 2010 16:32:38 +0000 (16:32 +0000)]
re PR bootstrap/43615 (bootstrap fails: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory)
/:
PR bootstrap/43615
PR bootstrap/43328
Revert:
2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs. Accept explicitly passed
--enable_multilib.
* configure: Regenerate.
From-SVN: r157916
Janne Blomqvist [Thu, 1 Apr 2010 16:22:57 +0000 (19:22 +0300)]
PR libfortran/43605 Fix FTELL for formatted files
Co-Authored-By: Manfred Schwarb <manfred99@gmx.ch>
From-SVN: r157914
Richard Guenther [Thu, 1 Apr 2010 16:18:07 +0000 (16:18 +0000)]
re PR tree-optimization/43614 (ice in gimple_rhs_has_side_effects, at gimple.c:2248)
2010-04-01 Richard Guenther <rguenther@suse.de>
PR middle-end/43614
* tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS
and TREE_THIS_VOLATILE.
(copy_ref_info): Likewise.
* tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE.
* tree.c (build6_stat): Ignore side-effects of all but arg5
for TARGET_MEM_REF. Set TREE_THIS_VOLATILE from arg5 of
TARGET_MEM_REF.
* gcc.c-torture/compile/pr43614.c: New testcase.
From-SVN: r157913
Richard Guenther [Thu, 1 Apr 2010 14:05:49 +0000 (14:05 +0000)]
re PR tree-optimization/43607 (ICE in gimple_op, at gimple.h:1633 with -fipa-type-escape)
2010-04-01 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43607
* ipa-type-escape.c (check_call): Do not access non-existing
arguments.
From-SVN: r157911
Martin Jambor [Thu, 1 Apr 2010 13:31:53 +0000 (15:31 +0200)]
re PR tree-optimization/43141 (Wrong debug information with IPA-SRA)
2010-04-01 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/43141
* testsuite/gcc.dg/guality/pr43141.c: New test.
From-SVN: r157909
Richard Guenther [Thu, 1 Apr 2010 13:24:58 +0000 (13:24 +0000)]
re PR middle-end/43602 (___emutls_v.__gcov_indirect_call_[counters|callee] undefined on *-*-darwin*)
2010-04-01 Richard Guenther <rguenther@suse.de>
PR middle-end/43602
Revert
2010-03-30 Seongbae Park <seongbae.park@gmail.com>
Jack Howarth <howarth@bromo.med.uc.edu>
* tree-profile.c (tree_init_ic_make_global_vars): Make static
variables TLS.
From-SVN: r157907
Rainer Orth [Thu, 1 Apr 2010 12:43:04 +0000 (12:43 +0000)]
_Pragma1.C: Skip on alpha*-dec-osf*.
* g++.dg/cpp/_Pragma1.C: Skip on alpha*-dec-osf*.
* g++.dg/eh/spbp.C: Likewise.
* g++.dg/ext/label13.C (C::C): xfail dg-bogus on alpha*-dec-osf*.
* g++.dg/other/pragma-ep-1.C: Properly define p, remove
superfluous casts.
* gcc.dg/mtune.c: Add dg-bogus "mcpu".
* objc.dg/dwarf-1.m: Skip on alpha*-dec-osf*.
* objc.dg/dwarf-2.m: Likewise.
From-SVN: r157905
Rainer Orth [Thu, 1 Apr 2010 12:33:35 +0000 (12:33 +0000)]
install.texi (Prerequisites): Document libelf usability on IRIX 5/6 and Solaris 2.
* doc/install.texi (Prerequisites): Document libelf usability on
IRIX 5/6 and Solaris 2.
(Specific, i?86-*-solaris2.10): No 64-bit default configuration.
Update GNU as, GNU ld requirements.
(Specific, *-*-solaris2*): Document Solaris 7 obsoletion, removal.
Document Sun Studio compiler download.
Update and simplify as, ld recommendations.
(Specific, *-*-solaris2.7): Note obsoletion, removal.
From-SVN: r157904
Rainer Orth [Thu, 1 Apr 2010 10:32:10 +0000 (10:32 +0000)]
config.guess (i[34567]86-*-solaris2*): Default with_arch_32, with_tune_32 to pentium4.
* config.guess (i[34567]86-*-solaris2*): Default with_arch_32,
with_tune_32 to pentium4.
From-SVN: r157903
Uros Bizjak [Thu, 1 Apr 2010 09:57:12 +0000 (11:57 +0200)]
cpuid.h (__get_cpuid_max): Move misplaced comment.
* config/i386/cpuid.h (__get_cpuid_max): Move misplaced comment.
From-SVN: r157902
Rainer Orth [Thu, 1 Apr 2010 08:05:04 +0000 (08:05 +0000)]
install.texi (Specific, [...]): Document IRIX 5 obsoletion, removal.
* doc/install.texi (Specific, mips-sgi-irix5): Document IRIX 5
obsoletion, removal.
Update IDO URL.
Document GNU as requirement.
Update configure requirements.
(Specific, mips-sgi-irix6): Document IRIX 6 < 6.5 obsoletion,
removal.
Recomment IRIX 6.5.18+.
Document IDF/IDL requirement.
Document GNU as requirement.
Document GNU ld bootstrap failure.
Remove freeware.sgi.com reference.
From-SVN: r157901
Rainer Orth [Thu, 1 Apr 2010 07:58:25 +0000 (07:58 +0000)]
install.texi (Specific, [...]): Document Tru64 UNIX V4.0, V5.0 obsoletion, removal.
* doc/install.texi (Specific, alpha*-dec-osf*): Document Tru64
UNIX V4.0, V5.0 obsoletion, removal.
Remove --with-gc=simple reference.
Update VM requirements during bootstrap.
Remove -oldas bootstrap description.
Update binutils reference.
Remove comparison failure note.
From-SVN: r157900
GCC Administrator [Thu, 1 Apr 2010 00:17:32 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r157899
Paul Thomas [Wed, 31 Mar 2010 20:42:19 +0000 (20:42 +0000)]
ioparm.def: Update copyright.
2010-03-31 Paul Thomas <pault@gcc.gnu.org>
* ioparm.def : Update copyright.
* lang.opt : ditto
* trans-array.c : ditto
* trans-array.h : ditto
* expr.c: ditto
* trans-types.c: ditto
* dependency.c : ditto
* gfortran.h : ditto
* options.c : ditto
* trans-io.c : ditto
* trans-intrinsic.c : ditto
* libgfortran.h : ditto
* invoke.texi : ditto
* intrinsic.texi : ditto
* trans.c : ditto
* trans.h : ditto
* intrinsic.c : ditto
* interface.c : ditto
* iresolve.c : ditto
* trans-stmt.c : ditto
* trans-stmt.h : ditto
* parse,c : ditto
* match.h : ditto
* error.c : ditto
From-SVN: r157895
Ulrich Weigand [Wed, 31 Mar 2010 19:39:56 +0000 (19:39 +0000)]
* MAINTAINERS (CPU Port Maintainers): Add myself for spu port.
From-SVN: r157893
Sebastian Pop [Wed, 31 Mar 2010 18:37:50 +0000 (18:37 +0000)]
Add ChangeLog entries.
From-SVN: r157890
Richard Guenther [Wed, 31 Mar 2010 18:37:41 +0000 (18:37 +0000)]
Fix PR43464: copyprop should maintain loop close phi nodes with multiple arguments.
2010-03-30 Richard Guenther <rguenther@suse.de>
Zdenek Dvorak <ook@ucw.cz>
Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43464
* tree-ssa-copy.c (init_copy_prop): Handle loop close phi nodes
with multiple arguments.
(execute_copy_prop): Remove call to rewrite_into_loop_closed_ssa.
Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com>
Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>
From-SVN: r157889
Sebastian Pop [Wed, 31 Mar 2010 18:37:35 +0000 (18:37 +0000)]
Add a verbosity parameter to clean up the comments of pretty printers.
2010-03-23 Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (print_pddr): Call print_pdr with an
extra argument.
* graphite-poly.c (debug_pdr): Add an extra argument for the
verbosity level.
(print_pdr): Same.
(print_pbb_domain): Same.
(print_pbb): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_cloog): Same.
(debug_pbb_domain): Same.
(debug_pbb): Same.
(print_pdrs): Same.
(debug_pdrs): Same.
(debug_scop_context): Same.
(debug_scop): Same.
(debug_cloog): Same.
(print_scop_params): Same.
(debug_scop_params): Same.
(print_iteration_domain): Same.
(print_iteration_domains): Same.
(debug_iteration_domain): Same.
(debug_iteration_domains): Same.
(print_scattering_function): Same.
(print_scattering_functions): Same.
(debug_scattering_function): Same.
(debug_scattering_functions): Same.
* graphite-poly.h (debug_pdr): Update declaration.
(print_pdr): Same.
(print_pbb_domain): Same.
(print_pbb): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_cloog): Same.
(debug_pbb_domain): Same.
(debug_pbb): Same.
(print_pdrs): Same.
(debug_pdrs): Same.
(debug_scop_context): Same.
(debug_scop): Same.
(debug_cloog): Same.
(print_scop_params): Same.
(debug_scop_params): Same.
(print_iteration_domain): Same.
(print_iteration_domains): Same.
(debug_iteration_domain): Same.
(debug_iteration_domains): Same.
(print_scattering_function): Same.
(print_scattering_functions): Same.
(debug_scattering_function): Same.
(debug_scattering_functions): Same.
From-SVN: r157888
Sebastian Pop [Wed, 31 Mar 2010 18:37:28 +0000 (18:37 +0000)]
Print SCoPs under CLooG format.
2010-03-23 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_scattering_function_1): New.
(print_scattering_function): Call it.
(print_scop_params): Remove spaces at the end of lines.
(print_cloog): New.
(debug_cloog): New.
* graphite-poly.h (print_cloog): Declared.
(debug_cloog): Declared.
From-SVN: r157887
Sebastian Pop [Wed, 31 Mar 2010 18:37:22 +0000 (18:37 +0000)]
Add testcases for PR43464.
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r157886
Sebastian Pop [Wed, 31 Mar 2010 18:37:13 +0000 (18:37 +0000)]
canonicalize_loop_ivs should add the IV bump in loop->header.
2010-03-16 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (graphite_loop_normal_form): Add the IV bump
in loop->header.
* tree-flow.h (canonicalize_loop_ivs): Updated declaration.
* tree-parloops.c (gen_parallel_loop): Add the IV bump in loop->latch.
* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Add a new parameter
to switch between adding the IV bump in loop->latch or in loop->header.
From-SVN: r157885
Sebastian Pop [Wed, 31 Mar 2010 18:37:06 +0000 (18:37 +0000)]
Add pass_copy_prop after Graphite.
2010-03-16 Sebastian Pop <sebastian.pop@amd.com>
* passes.c (init_optimization_passes): Add pass_copy_prop
after Graphite.
From-SVN: r157884
Sebastian Pop [Wed, 31 Mar 2010 18:36:54 +0000 (18:36 +0000)]
Make print_scop output the scoplib format.
2010-03-16 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_scattering_function): Pretty print following
the scoplib format.
(print_pdr): Same.
(print_pbb_domain): Same.
(dump_gbb_cases): Same.
(dump_gbb_conditions): Same.
(print_pdrs): Same.
(print_pbb): Same.
(print_scop_params): Same.
(print_scop_context): Same.
(print_scop): Same.
(print_pbb_body): New.
(lst_indent_to): New.
(print_lst): Start new lines with a #.
* graphite-poly.h (pbb_bb): New.
(pbb_index): Use pbb_bb.
* graphite-ppl.c (ppl_print_powerset_matrix): Print the number of
disjuncts.
* tree-data-ref.c (dump_data_reference): Start new lines with a #.
From-SVN: r157883
Sebastian Pop [Wed, 31 Mar 2010 18:36:45 +0000 (18:36 +0000)]
Add testcase for PR43351.
2010-03-13 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43351
* gcc.dg/graphite/id-pr43351.c
From-SVN: r157882
Janis Johnson [Wed, 31 Mar 2010 17:05:37 +0000 (17:05 +0000)]
* MAINTAINERS: Remove myself.
From-SVN: r157877
Joseph Myers [Wed, 31 Mar 2010 16:26:13 +0000 (17:26 +0100)]
gcc_release (build_tarfiles): Make directories mode 755, not 777.
* gcc_release (build_tarfiles): Make directories mode 755, not
777.
From-SVN: r157874
Iain Sandoe [Wed, 31 Mar 2010 15:50:45 +0000 (15:50 +0000)]
re PR objc/35165 (Massive failures of objc on i686-apple-darwin9)
2010-03-31 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
PR testsuite/35165
* obj-c++.dg/try-catch-9.mm: Don't XFAIL m32 NeXT runtime.
* obj-c++.dg/try-catch-2.mm: Ditto.
* obj-c++.dg/lookup-2.mm: Ditto.
* obj-c++.dg/encode-8.m: Ditto.
* obj-c++.dg/cxx-ivars-2.mm: Ditto.
* obj-c++.dg/cxx-ivars-3.mm: Skip for GNU, XFail for m64 NeXT.
* obj-c++.dg/const-str-10.mm: Skip for GNU, match .quad for m64 NeXT.
* obj-c++.dg/const-str-11.mm: Ditto.
* obj-c++.dg/const-str-9.mm: Ditto.
* obj-c++.dg/bitfield-3.mm: Skip for GNU runtime.
* obj-c++.dg/bitfield-2.mm: XFAIL run for m64 NeXT runtime.
* obj-c++.dg/except-1.mm: Ditto.
* obj-c++.dg/const-str-7.mm: Ditto.
* obj-c++.dg/cxx-ivars-1.mm: Ditto.
* obj-c++.dg/const-str-3.mm: Ditto.
* obj-c++.dg/const-str-7.mm: Ditto.
* obj-c++.dg/stubify-2.mm: Change dump file name.
From-SVN: r157873
Iain Sandoe [Wed, 31 Mar 2010 15:47:42 +0000 (15:47 +0000)]
re PR objc++/23613 (obj-c++.dg/isa-field-1.mm fails with the GNU runtime)
2010-03-31 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
PR objc++/23613
* gcc/testsuite/objc-obj-c++-shared/next-mapping.h (CLASSPTRFIELD):
New macro.
* gcc/testsuite/obj-c++.dg/isa-field-1.mm: Use new CLASSPTRFIELD macro.
Remove dg-xfail-if.
From-SVN: r157872
Jakub Jelinek [Wed, 31 Mar 2010 15:37:03 +0000 (17:37 +0200)]
dwarf2out.c (size_of_die): For -gdwarf-4 use uleb128 size instead of fixed 1 or 2 for dw_val_class_loc and...
* dwarf2out.c (size_of_die): For -gdwarf-4 use
uleb128 size instead of fixed 1 or 2 for dw_val_class_loc
and 0 instead of 1 for dw_val_class_flag.
(value_format): For -gdwarf-4 use DW_FORM_sec_offset for
dw_val_class_range_list, dw_val_class_loc_list,
dw_val_class_lineptr and dw_val_class_macptr, use
DW_FORM_flag_present for dw_val_class_flag and
DW_FORM_exprloc for dw_val_class_loc.
(output_die): For -gdwarf-4 print dw_val_class_loc
size as uleb128 instead of 1 or 2 bytes and don't print
anything for dw_val_class_flag.
From-SVN: r157871
Jakub Jelinek [Wed, 31 Mar 2010 15:27:41 +0000 (17:27 +0200)]
var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn instead of cselib_lookup following by tweaking...
* var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn
instead of cselib_lookup following by tweaking locs->setting_insn.
From-SVN: r157870
Jakub Jelinek [Wed, 31 Mar 2010 15:26:57 +0000 (17:26 +0200)]
re PR bootstrap/43596 (Failed to boostrap)
PR bootstrap/43596
* cselib.c (cselib_process_insn): Clear cselib_current_insn
even before returning from label, setjmp call or volatile asm
handling.
From-SVN: r157869
Richard Guenther [Wed, 31 Mar 2010 13:20:19 +0000 (13:20 +0000)]
re PR middle-end/43600 (Segmentation fault for large C file (24MB))
2010-03-31 Richard Guenther <rguenther@suse.de>
PR middle-end/43600
* cgraphunit.c (cgraph_output_in_order): Do not allocate
temporary data on stack.
From-SVN: r157867
Martin Jambor [Wed, 31 Mar 2010 11:29:03 +0000 (13:29 +0200)]
inline-params.c: Disable early inlining.
2010-03-31 Martin Jambor <mjambor@suse.cz>
* gcc.dg/guality/inline-params.c: Disable early inlining. Xfail run
only with -O2, -O3 or -Os and not with -fwhopr.
From-SVN: r157863
Rainer Orth [Wed, 31 Mar 2010 10:42:56 +0000 (10:42 +0000)]
sysv4.h (PUSHSECTION_FORMAT): Remove undef.
* config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef.
(PUSHSECTION_ASM_OP): Remove.
(POPSECTION_ASM_OP): Remove.
(PUSHSECTION_FORMAT): Remove.
* config/sol2.h (PUSHSECTION_FORMAT): Define.
* config/sparc/sol2.h [!USE_GAS] (PUSHSECTION_FORMAT): Redefine.
* config/sol2.c (solaris_output_init_fini): Use it.
From-SVN: r157861
Jie Zhang [Wed, 31 Mar 2010 09:57:03 +0000 (09:57 +0000)]
re PR middle-end/43574 (Revision 157795 failed gcc.dg/lto/
20090914-1 c_lto_20090914-1_0.o)
PR 43574
* opt-functions.awk (var_type_struct): Use signed char type
for simple variables.
From-SVN: r157859
Rainer Orth [Wed, 31 Mar 2010 09:26:05 +0000 (09:26 +0000)]
inclhack.def (alpha_assert): Allow for more whitespace in select.
* inclhack.def (alpha_assert): Allow for more whitespace in
select.
* fixincl.x: Regenerate.
From-SVN: r157858
Dodji Seketeli [Wed, 31 Mar 2010 09:21:02 +0000 (09:21 +0000)]
re PR c++/43558 (Rejects specialization)
Fix PR c++/43558
gcc/cp/ChangeLog:
PR c++/43558
* cp-tree.h (TEMPLATE_TYPE_PARM_SIBLING_PARMS): New accessor macro.
* pt.c (end_template_parm_list): Store sibling template parms of
each TEMPLATE_TYPE_PARMs into its TEMPLATE_TYPE_PARM_SIBLING_PARMS.
(push_template_decl_real): Don't store the containing template decl
into the DECL_CONTEXT of TEMPLATE_TYPE_PARMs anymore.
* typeck.c (get_template_parms_of_dependent_type): Get sibling parms
of a TEMPLATE_TYPE_PARM from TEMPLATE_TYPE_PARM_SIBLING_PARMS.
Simplify the logic.
gcc/testsuite/ChangeLog:
PR c++/43558
* g++.dg/template/typedef31.C: New test.
From-SVN: r157857
Rainer Orth [Wed, 31 Mar 2010 09:19:20 +0000 (09:19 +0000)]
sol2.c: Include output.h.
gcc:
* config/sol2.c: Include output.h.
(solaris_assemble_visibility): New function.
* config/t-sol2 (sol2.o): Add output.h dependency.
* config/sol2-protos.h (solaris_assemble_visibility): Declare.
* config/sol2.h [!USE_GAS] (TARGET_ASM_ASSEMBLE_VISIBILITY):
Redefine.
gcc/testsuite:
* g++.dg/ext/visibility/pragma-override1.C: Allow for .hidden in
assembler output on *-*-solaris2*.
* g++.dg/ext/visibility/pragma-override2.C: Likewise.
From-SVN: r157856
Rainer Orth [Wed, 31 Mar 2010 09:16:24 +0000 (09:16 +0000)]
Added forgotten ChangeLog entry.
From-SVN: r157855
Rainer Orth [Wed, 31 Mar 2010 09:03:29 +0000 (09:03 +0000)]
re PR target/39048 (gcc 4.4.0
20090131 - Extra underscore hides libgcc's soft-fp functions from Testsuite causing FAILs + naming error in libgcc)
gcc:
PR target/39048
* config.gcc (i[34567]86-*-solaris2*): Add i386/t-fprules-softfp
and soft-fp/t-softfp to tmake_file.
* config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Redefine.
(LIBGCC2_TF_CEXT): Define.
(TF_SIZE): Define.
libgcc:
PR target/39048
* config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
like other remaining 32-bit x86 OSes.
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
assembler syntax.
* config/i386/libgcc-sol2.ver: New file.
* config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r157854
Jakub Jelinek [Wed, 31 Mar 2010 08:41:28 +0000 (10:41 +0200)]
re PR target/43580 (ICE segfault compiling libgcc2.c)
PR target/43580
* config/arm/arm.c (arm_save_coproc_regs): Use Pmode instead of
V2SImode or XFmode on PRE_DEC.
From-SVN: r157853
Jakub Jelinek [Wed, 31 Mar 2010 08:39:22 +0000 (10:39 +0200)]
re PR debug/43557 (ICE with -combine and -g)
PR debug/43557
* cfgexpand.c (expand_debug_expr): Handle VOIDmode mode like
BLKmode.
* gcc.dg/pr43557-1.c: New test.
* gcc.dg/pr43557-2.c: New file.
From-SVN: r157852
Ralf Wildenhues [Wed, 31 Mar 2010 05:44:30 +0000 (05:44 +0000)]
Fix toplevel configure --enable-multilib handling.
/:
PR bootstrap/43328
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs. Accept explicitly passed
--enable_multilib.
* configure: Regenerate.
From-SVN: r157851
Jie Zhang [Wed, 31 Mar 2010 02:44:10 +0000 (02:44 +0000)]
re PR other/43562 (GCC ICE on optimize attribute)
PR 43562
* reload.h (caller_save_initialized_p): Declare.
* toplev.c (backend_init_target): Don't call
init_caller_save but set caller_save_initialized_p
to false.
* caller-save.c (caller_save_initialized_p): Define.
(init_caller_save): Check caller_save_initialized_p.
* ira.c (ira): Call init_caller_save if flag_caller_saves.
testsuite/
PR 43562
* gcc.dg/pr43562.c: New test.
From-SVN: r157849
GCC Administrator [Wed, 31 Mar 2010 00:17:04 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r157845
Jason Merrill [Tue, 30 Mar 2010 22:34:02 +0000 (18:34 -0400)]
re PR c++/43076 (ICE: SIGSEGV with invalid C++ code after giving diagnostics)
PR c++/43076
* pt.c (push_template_decl_real): Deal better with running out of
scopes before running out of template parms.
From-SVN: r157842
Jason Merrill [Tue, 30 Mar 2010 21:19:23 +0000 (17:19 -0400)]
re PR c++/41185 (size of array ... has non-integral type ...)
PR c++/41185
PR c++/41786
* parser.c (cp_parser_direct_declarator): Don't allow VLAs in
function parameter context. Don't print an error if parsing
tentatively.
From-SVN: r157838
Alexandre Oliva [Tue, 30 Mar 2010 21:00:47 +0000 (21:00 +0000)]
re PR debug/42977 ("-fcompare-debug failure" with "-O2 -finline-functions -fomit-frame-pointer -ftracer -fsched2-use-superblocks -fPIC")
PR debug/42977
* cselib.c (n_useless_values): Document handling of debug locs.
(n_useless_debug_values, n_debug_values): New variables.
(new_elt_loc_list): Don't add to debug values, keep count.
(promote_debug_loc): New.
(cselib_reset_table): Zero new variables.
(entry_and_rtx_equal_p): Promote debug locs.
(discard_useless_locs): Increment n_useless_debug_values for
debug values.
(remove_useless_values): Adjust n_useless_values and n_debug_values
with n_useless_debug_values.
(add_mem_for_addr): Promote debug locs.
(cselib_lookup_mem): Likewise.
(cselib_lookup_addr): Renamed to...
(cselib_lookup_addr_1): ... this. Promote debug locs.
Don't call...
(cselib_log_lookup): ... this. Turn into...
(cselib_lookup_addr): ... new wrapper.
(cselib_lookup_from_insn): New.
(cselib_invalidate_regno): Increment n_useless_debug_values for
debug values.
(cselib_invalidate_mem): Likewise.
(cselib_process_insn): Take n_deleted and n_debug_values into
account to guard remove_useless_value call.
(cselib_finish): Zero n_useless_debug_values.
* cselib.h (cselib_lookup_from_insn): Declare.
* sched-deps.c (sched_analyze_1): Use cselib_lookup_from_insn.
(sched_analyze_2): Likewise.
From-SVN: r157837
Jakub Jelinek [Tue, 30 Mar 2010 20:17:39 +0000 (22:17 +0200)]
var-tracking.c (use_narrower_mode_test, [...]): New functions.
* var-tracking.c (use_narrower_mode_test, use_narrower_mode): New
functions.
(adjust_mems): Replace narrowing SUBREG of expression containing
just PLUS, MINUS, MULT and ASHIFT of registers and constants
with operations in the narrower mode.
From-SVN: r157835
Jakub Jelinek [Tue, 30 Mar 2010 20:16:52 +0000 (22:16 +0200)]
re PR debug/43593 (Var-tracking unnecessarily flushes all call used registers on calls instead of regs invalidated by call)
PR debug/43593
* var-tracking.c (dataflow_set_clear_at_call): Invalidate
just regs_invalidated_by_call instead all call_used_reg_set
registers.
* gcc.dg/guality/pr43593.c: New test.
From-SVN: r157834
Sebastian Pop [Tue, 30 Mar 2010 19:58:35 +0000 (19:58 +0000)]
Replace type != type comparisons with types_compatible_p.
2010-03-30 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43430
* tree-vect-slp.c (vect_get_and_check_slp_defs): Replace type
pointer comparisons with types_compatible_p.
* tree-vect-stmts.c (vectorizable_call): Same.
(vectorizable_condition): Same.
* gcc.dg/vect/pr43430-1.c: New.
From-SVN: r157833
Jason Merrill [Tue, 30 Mar 2010 19:39:48 +0000 (15:39 -0400)]
re PR c++/43559 (Overloaded template functions became ambiguous)
PR c++/43559
* pt.c (more_specialized_fn): Don't control cv-qualifier check
with same_type_p.
From-SVN: r157831
Johannes Singler [Tue, 30 Mar 2010 14:50:56 +0000 (14:50 +0000)]
random_shuffle.h (__parallel_random_shuffle_drs): Take as many threads as possible, i.
2010-03-30 Johannes Singler <singler@kit.edu>
* include/parallel/random_shuffle.h
(__parallel_random_shuffle_drs) : Take as many threads as
possible, i. e. favor parallelism over cache efficiency.
Use own PRNG also for the 1 thread case.
From-SVN: r157826
Andreas Krebbel [Tue, 30 Mar 2010 13:53:10 +0000 (13:53 +0000)]
s390.c (s390_emit_prologue): Omit issuing a dynamic stack check if the mask would be zero.
2010-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_emit_prologue): Omit issuing a dynamic
stack check if the mask would be zero.
2010-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.target/s390/stackcheck1.c: New testcase.
From-SVN: r157825
Seongbae Park [Tue, 30 Mar 2010 13:10:16 +0000 (13:10 +0000)]
tree-profile.c (tree_init_ic_make_global_vars): Make static variables TLS.
2010-03-30 Seongbae Park <seongbae.park@gmail.com>
Jack Howarth <howarth@bromo.med.uc.edu>
* tree-profile.c (tree_init_ic_make_global_vars): Make static
variables TLS.
Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>
From-SVN: r157822
Jack Howarth [Tue, 30 Mar 2010 13:08:52 +0000 (13:08 +0000)]
re PR c/43553 (libgcc built with -DHAVE_CC_TLS against xgcc when emutls in use)
2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
PR c/43553
* Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
* configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
is used and substitute set_use_emutls.
* configure: Regenerated.
From-SVN: r157821
Joseph Myers [Tue, 30 Mar 2010 12:35:08 +0000 (13:35 +0100)]
re PR other/25232 (libgcc-std.ver should include __unordxf2 and __unordtf2)
PR other/25232
* libgcc-std.ver (GCC_4.5.0): Define version. Include __unordxf2
and __unordtf2.
* config/bfin/libgcc-bfin.ver (GCC_4.5.0): Define version.
Include ___unordxf2 and ___unordtf2.
* config/i386/libgcc-glibc.ver: Do not define inheritance from
GCC_4.4.0 here.
From-SVN: r157819
Paolo Carlini [Tue, 30 Mar 2010 10:59:17 +0000 (10:59 +0000)]
unordered_map: Clean-up includes and guards.
2010-03-30 Paolo Carlini <paolo.carlini@oracle.com>
* include/debug/unordered_map: Clean-up includes and guards.
* include/debug/unordered_set: Likewise.
* include/debug/list: Likewise.
* include/profile/unordered_map: Likewise.
* include/profile/unordered_set: Likewise.
From-SVN: r157818
Tarik Graba [Tue, 30 Mar 2010 10:26:24 +0000 (12:26 +0200)]
t-lm32: New file.
2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
gcc/
* config/lm32/t-lm32: New file.
* config.gcc: Use the above file when targetting lm32.
libgcc/
* config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
From-SVN: r157817
Duncan Sands [Tue, 30 Mar 2010 10:03:25 +0000 (12:03 +0200)]
The dragonegg plugin needs except.h, so add it to the list of
plugin headers.
From-SVN: r157816
Jerry DeLisle [Tue, 30 Mar 2010 03:25:04 +0000 (03:25 +0000)]
re PR fortran/43265 (No EOF condition if reading with '(x)' from an empty file)
2010-03-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/43265
* gfortran.dg/read_eof_8.f90: New test.
From-SVN: r157811
Jerry DeLisle [Tue, 30 Mar 2010 03:22:28 +0000 (03:22 +0000)]
re PR fortran/43265 (No EOF condition if reading with '(x)' from an empty file)
2010-03-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/43265
* io/transfer.c (next_record_r): Only call hit_eof for specific
conditions when an EOF is encountered.
From-SVN: r157810
GCC Administrator [Tue, 30 Mar 2010 00:17:33 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r157809
John David Anglin [Mon, 29 Mar 2010 23:51:05 +0000 (23:51 +0000)]
re PR target/43458 (c99_classification_macros_c.cc fails on hppa*-*-hpux*)
PR target/43458
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
Xfail hppa*-*-hpux*.
From-SVN: r157806
Jason Merrill [Mon, 29 Mar 2010 20:57:00 +0000 (16:57 -0400)]
* gcc.dg/cpp/include6.c: Change [] to ().
From-SVN: r157805
Jason Merrill [Mon, 29 Mar 2010 20:07:29 +0000 (16:07 -0400)]
More N3077 raw string changes
More N3077 raw string changes
* charset.c (cpp_interpret_string): Don't transform UCNs in raw
strings.
* lex.c (bufring_append): Split out from...
(lex_raw_string): ...here. Undo trigraph and line splicing
transformations. Do process line notes in multi-line literals.
(_cpp_process_line_notes): Ignore notes that were already handled.
From-SVN: r157804
Jason Merrill [Mon, 29 Mar 2010 19:40:36 +0000 (15:40 -0400)]
raw-string-1.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-1.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-2.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-3.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-4.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-5.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-6.c: Combine C and C++ raw string tests.
* c-c++-common/raw-string-7.c: Combine C and C++ raw string tests.
From-SVN: r157803
Sebastian Pop [Mon, 29 Mar 2010 16:38:40 +0000 (16:38 +0000)]
Improve vectorization cost model diagnostic.
2010-03-29 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43431
* tree-vect-loop.c (vect_estimate_min_profitable_iters):
Improve vectorization cost model diagnostic.
From-SVN: r157801
Sebastian Pop [Mon, 29 Mar 2010 16:38:34 +0000 (16:38 +0000)]
Improve vectorization diagnostic: loop contains function calls.
2010-03-29 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43436
* tree-vect-data-refs.c (vect_analyze_data_refs): When
compute_data_dependences_for_loop returns false, early exit
and output an extra diagnostic for the failed data reference
analysis.
From-SVN: r157800
Richard Guenther [Mon, 29 Mar 2010 15:20:07 +0000 (15:20 +0000)]
re PR tree-optimization/43560 (possible wrong code bug)
2010-03-29 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43560
* tree-ssa-loop-im.c (ref_always_accessed_p): Add store_p
parameter.
(can_sm_ref_p): Treat stores to readonly locations as
trapping.
* gcc.dg/torture/pr43560.c: New testcase.
From-SVN: r157799
Jason Merrill [Mon, 29 Mar 2010 15:00:43 +0000 (11:00 -0400)]
Some raw string changes from N3077
Some raw string changes from N3077
* charset.c (cpp_interpret_string): Change inner delimiters to ().
* lex.c (lex_raw_string): Likewise. Also disallow '\' in delimiter.
From-SVN: r157797
Jie Zhang [Mon, 29 Mar 2010 13:06:50 +0000 (13:06 +0000)]
re PR other/43564 (ICE on code with optimize attribute and inlining)
PR 43564
* toplev.c (process_options): Set optimization_default_node
and optimization_current_node.
* opts.c (decode_options): Don't set optimization_default_node
and optimization_current_node.
testsuite/
PR 43564
* gcc.dg/pr43564.c: New test.
From-SVN: r157795
Tobias Burnus [Mon, 29 Mar 2010 06:17:19 +0000 (08:17 +0200)]
re PR libfortran/43551 (Buffered direct I/O reads wrong record)
2010-03-29 Tobias Burnus <burnus@net-b.de>
PR fortran/43551
* io/unix.c (buf_write): Set physical_offset after lseek.
2010-03-29 Tobias Burnus <burnus@net-b.de>
PR fortran/43551
* gfortran.dg/direct_io_12.f90: New test.
From-SVN: r157792
Ralf Corsepius [Mon, 29 Mar 2010 05:06:42 +0000 (07:06 +0200)]
rtems.h: Abandon -qrtems_debug.
2010-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* config/rtems.h: Abandon -qrtems_debug.
From-SVN: r157791
Andrew Pinski [Mon, 29 Mar 2010 05:00:30 +0000 (22:00 -0700)]
MAINTAINERS (spu port): Remove me.
2010-03-28 Andrew Pinski <pinskia@gmail.com>
* MAINTAINERS (spu port): Remove me.
From-SVN: r157790
GCC Administrator [Mon, 29 Mar 2010 00:16:36 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r157789
Jan Hubicka [Sun, 28 Mar 2010 21:46:50 +0000 (23:46 +0200)]
re PR tree-optimization/43505 (type mismatch between an SSA_NAME and its symbol with -O3)
PR tree-optimization/43505
* cgraph.c (cgraph_clone_node): When clonning a clone, replacement
map should not be copied.
* gfortran.dg/pr43505.f90: New testcase.
From-SVN: r157786
H.J. Lu [Sun, 28 Mar 2010 16:40:50 +0000 (16:40 +0000)]
re PR target/40722 (ia32intrin.h defines of _rotl, _rotr conflict with target stdlib.h decls)
2010-03-28 H.J. Lu <hongjiu.lu@intel.com>
PR target/40722
* mkfixinc.sh: Revert the last change for mingw.
From-SVN: r157784
GCC Administrator [Sun, 28 Mar 2010 00:16:45 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r157783
John David Anglin [Sat, 27 Mar 2010 15:43:19 +0000 (15:43 +0000)]
re PR middle-end/41674 (/usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__I_65535_0_main)
PR middle-end/41674
* cgraphunit.c (cgraph_build_static_cdtor): If target doesn't have
cdtors, set DECL_PRESERVE_P.
* ipa.c (cgraph_externally_visible_p): Return true if declaration
should be preseved.
From-SVN: r157779
Uros Bizjak [Sat, 27 Mar 2010 13:40:08 +0000 (14:40 +0100)]
re PR tree-optimization/43528 (ICE: in tree_low_cst, at tree.c:6198 with -mms-bitfields at x86_64-linux)
PR tree-optimization/43528
* stor-layout.c (place_field): Check that constant fits into
unsigned HWI when skipping calculation of MS bitfield layout.
testsuite/ChangeLog:
PR tree-optimization/43528
* gcc.target/i386/pr43528.c: New test.
From-SVN: r157776
Jan Hubicka [Sat, 27 Mar 2010 11:56:30 +0000 (12:56 +0100)]
re PR middle-end/43391 (make_decl_rtl failure for C++ on AIX and HPUX)
PR middle-end/43391
* varasm.c (make_decl_rtl): Deal with COMMON flag to make
notice_global_symbol work.
From-SVN: r157773
Jakub Jelinek [Sat, 27 Mar 2010 10:52:27 +0000 (11:52 +0100)]
dwarf2out.c (dwarf2_debug_hooks): Use dwarf2out_function_decl instead of dwarf2out_decl.
* dwarf2out.c (dwarf2_debug_hooks): Use dwarf2out_function_decl
instead of dwarf2out_decl.
(struct var_loc_node): Remove section_label field.
(dwarf2out_function_decl): New function.
(dwarf2out_var_location): Don't set section_label field.
(dwarf2out_begin_function): Don't empty decl_loc_table here.
From-SVN: r157771