Commit Graph

99154 Commits

Author SHA1 Message Date
Sebastian Pop 1f0bf1484b Move changelog entries in the right file.
From-SVN: r157947
2010-04-02 18:06:04 +00:00
Sebastian Pop e8fd69bbcf Add brackets around AC_TRY_COMPILE alternative.
2010-04-02  Sebastian Pop  <sebastian.pop@amd.com>

	* configure.ac: Add brackets around AC_TRY_COMPILE alternative.
	* configure: Regenerated.

From-SVN: r157946
2010-04-02 17:35:47 +00:00
Sebastian Pop 0333b9a65d Print "buggy but acceptable" when CLooG revision is less than 9.
2010-04-02  Sebastian Pop  <sebastian.pop@amd.com>

	* configure.ac: Print "buggy but acceptable" when CLooG
	revision is less than 9.
	* configure: Regenerated.

From-SVN: r157945
2010-04-02 17:35:39 +00:00
Richard Guenther 1cdaa21198 re PR tree-optimization/43629 (Struct to register optimization fails)
2010-04-02  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/43629
	* tree-ssa-ccp.c (likely_value): Reset all_undefined_operands
	if we have seen a constant value.

	* gcc.c-torture/execute/pr43629.c: New testcase.

From-SVN: r157944
2010-04-02 16:50:04 +00:00
Joseph Myers d33da5cd57 read-rtl.c (read_rtx_1): Give an error for EOF while looking for ']'.
* read-rtl.c (read_rtx_1): Give an error for EOF while looking for
	']'.

From-SVN: r157943
2010-04-02 16:51:01 +01:00
Richard Earnshaw 2e5505a45e 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
2010-04-02 08:32:00 +00:00
Ralf Wildenhues bdfbd9df4f 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
2010-04-02 07:49:06 +00:00
Ralf Corsepius 80a61cb480 Fix indentation.
From-SVN: r157940
2010-04-02 05:06:20 +02:00
Ralf Corsepius c1b14424c8 config.host: Add lm32-*-rtems*.
2010-04-01	Ralf Corsépius <ralf.corsepius@rtems.org>

	* config.host: Add lm32-*-rtems*.

From-SVN: r157939
2010-04-02 05:02:18 +02:00
Ralf Corsepius 2bc40daaf5 [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
2010-04-02 05:00:24 +02:00
Ralf Corsepius d7856dc71d [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
2010-04-02 04:59:07 +02:00
GCC Administrator ff73c182c0 Daily bump.
From-SVN: r157936
2010-04-02 00:21:40 +00:00
Janne Blomqvist b879c108b2 PR libfortran/43605 FTELL intrinsic, take 2.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>

From-SVN: r157932
2010-04-01 23:51:45 +03:00
Dave Korn abfb38d739 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
2010-04-01 20:24:35 +00:00
Jakub Jelinek 2f43d500a6 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
2010-04-01 21:45:02 +02:00
Dodji Seketeli 777351a5fd 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
2010-04-01 20:54:30 +02:00
Jason Merrill d4b5fb2238 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
2010-04-01 14:48:46 -04:00
Jason Merrill 9542943db3 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
2010-04-01 14:48:34 -04:00
Diego Novillo ecd01deef0 MAINTAINERS (Plugin): Add myself and Le-Chun Wu.
* MAINTAINERS (Plugin): Add myself and Le-Chun Wu.

From-SVN: r157925
2010-04-01 14:35:28 -04:00
Paul Thomas a1ff2ab8e4 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
2010-04-01 18:22:00 +00:00
Paul Thomas fa502cb2db 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
2010-04-01 18:06:05 +00:00
Aldy Hernandez 6544865aad 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
2010-04-01 17:33:32 +00:00
Ralf Wildenhues dc683a3f63 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
2010-04-01 16:32:38 +00:00
Janne Blomqvist e76a3fde81 PR libfortran/43605 Fix FTELL for formatted files
Co-Authored-By: Manfred Schwarb <manfred99@gmx.ch>

From-SVN: r157914
2010-04-01 19:22:57 +03:00
Richard Guenther 5e9fb3dbde 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
2010-04-01 16:18:07 +00:00
Richard Guenther eb258d7f5d 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
2010-04-01 14:05:49 +00:00
Martin Jambor d3f76f836f 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
2010-04-01 15:31:53 +02:00
Richard Guenther aa8bfcad6d 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
2010-04-01 13:24:58 +00:00
Rainer Orth 35eb7ed734 _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
2010-04-01 12:43:04 +00:00
Rainer Orth 8c5cfa8948 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
2010-04-01 12:33:35 +00:00
Rainer Orth ddcc3550c2 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
2010-04-01 10:32:10 +00:00
Uros Bizjak 93234e58e5 cpuid.h (__get_cpuid_max): Move misplaced comment.
* config/i386/cpuid.h (__get_cpuid_max): Move misplaced comment.

From-SVN: r157902
2010-04-01 11:57:12 +02:00
Rainer Orth ef369ad84e 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
2010-04-01 08:05:04 +00:00
Rainer Orth 92d80770ae 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
2010-04-01 07:58:25 +00:00
GCC Administrator e6d66d3d1c Daily bump.
From-SVN: r157899
2010-04-01 00:17:32 +00:00
Paul Thomas 0a26191207 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
2010-03-31 20:42:19 +00:00
Ulrich Weigand 7527d83f67 * MAINTAINERS (CPU Port Maintainers): Add myself for spu port.
From-SVN: r157893
2010-03-31 19:39:56 +00:00
Sebastian Pop 25d635d9ed Add ChangeLog entries.
From-SVN: r157890
2010-03-31 18:37:50 +00:00
Richard Guenther 3cbf7085c3 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
2010-03-31 18:37:41 +00:00
Sebastian Pop 40bf935e85 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
2010-03-31 18:37:35 +00:00
Sebastian Pop 730a98461a 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
2010-03-31 18:37:28 +00:00
Sebastian Pop 9c0c34c2bb Add testcases for PR43464.
Co-Authored-By: Richard Guenther <rguenther@suse.de>

From-SVN: r157886
2010-03-31 18:37:22 +00:00
Sebastian Pop c80a540338 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
2010-03-31 18:37:13 +00:00
Sebastian Pop caaf41d0e8 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
2010-03-31 18:37:06 +00:00
Sebastian Pop 03922af3f2 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
2010-03-31 18:36:54 +00:00
Sebastian Pop 7da9e6ed3f 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
2010-03-31 18:36:45 +00:00
Janis Johnson 895522b66b * MAINTAINERS: Remove myself.
From-SVN: r157877
2010-03-31 17:05:37 +00:00
Joseph Myers d49d9a7df5 gcc_release (build_tarfiles): Make directories mode 755, not 777.
* gcc_release (build_tarfiles): Make directories mode 755, not
	777.

From-SVN: r157874
2010-03-31 17:26:13 +01:00
Iain Sandoe 03af6e448f 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
2010-03-31 15:50:45 +00:00
Iain Sandoe 2981f2063f 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
2010-03-31 15:47:42 +00:00