Commit Graph

91869 Commits

Author SHA1 Message Date
Ralf Wildenhues a16d1645a3 optc-gen.awk: No need to duplicate option flags twice.
gcc/
	* optc-gen.awk: No need to duplicate option flags twice.
	Reuse help texts for duplicate options which do not have
	any.

From-SVN: r144526
2009-03-01 12:20:33 +00:00
Ralf Wildenhues 1156c176fb gcc.c (display_help): Document --version.
gcc/
	* gcc.c (display_help): Document --version.

From-SVN: r144525
2009-03-01 11:29:32 +00:00
Ralf Wildenhues 033505fc8c gcc.c (main): If print_help_list and verbose_flag...
gcc/
	* gcc.c (main): If print_help_list and verbose_flag, ensure
	driver output comes before subprocess output.

From-SVN: r144524
2009-03-01 11:27:41 +00:00
Ralf Wildenhues 4d07705422 optc-gen.awk: Assign all remaining fields to help string...
gcc/
	* optc-gen.awk: Assign all remaining fields to help string,
	space-separated, for multi-line help in *.opt.

From-SVN: r144523
2009-03-01 11:26:06 +00:00
Ralf Wildenhues a072f1cf7c check_warning_flags.sh: Update flag exceptions.
contrib/
        * check_warning_flags.sh: Update flag exceptions.

gcc/
        * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
        -Wno-pedantic-ms-format is for MinGW targets only.

From-SVN: r144522
2009-03-01 11:24:03 +00:00
Ralf Wildenhues b3cdf3cbb6 options.texi (Option file format): Fix bad indentation, restoring dropped sentence.
gcc/
	* doc/options.texi (Option file format): Fix bad indentation,
	restoring dropped sentence.

From-SVN: r144518
2009-03-01 11:21:16 +00:00
Jan Hubicka a3aadcc56b * tree-inline.c (tree_function_versioning): Output debug info.
From-SVN: r144516
2009-03-01 11:05:00 +00:00
Jan Hubicka 1cf5abb382 re PR debug/39267 (gdb testsuite regressions)
PR debug/39267
	* tree-inline.c (setup_one_parameter): Do not copy propagate
	arguments when not optimizing.
	PR debug/39267
	* gcc.dg/debug/dwarf2/inline1.c: New testcase.

From-SVN: r144515
2009-03-01 11:02:30 +00:00
Eric Botcazou 39ae51e069 re PR ada/39264 (gnat.dg/pack3.adb fails on powerpc64/s390x)
PR ada/39264
	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no
	call make_packable_type on fat pointer types.
	<E_Array_Subtype>: Likewise.
	<E_Record_Subtype>: Call make_packable_type on all record types
	except for fat pointer types.
	(make_packable_type): Likewise.
	(gnat_to_gnu_field): Likewise.

From-SVN: r144514
2009-03-01 10:53:17 +00:00
Eric Botcazou 625d325157 Move entry
From-SVN: r144513
2009-03-01 10:51:28 +00:00
GCC Administrator a0daa400e4 Daily bump.
From-SVN: r144501
2009-03-01 00:16:55 +00:00
H.J. Lu c4d3f42f27 re PR target/39327 (Incorrect addsub/unpck patterns in sse.md)
2009-02-28  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39327
	* config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
	(avx_addsubv4df3): Likewise.
	(*avx_addsubv4sf3): Likewise.
	(sse3_addsubv4sf3): Likewise.
	(*avx_addsubv2df3): Likewise.
	(sse3_addsubv2df3): Likewise.
	(avx_unpckhps256): Correct item selectors.
	(avx_unpcklps256): Likewise.
	(avx_unpckhpd256): Likewise.
	(avx_unpcklpd256): Likewise.

From-SVN: r144498
2009-02-28 14:29:25 -08:00
Jan Hubicka eb50f5f41a tree-inline.c (expand_call_inline): Avoid duplicate declarations of static vars.
* tree-inline.c (expand_call_inline): Avoid duplicate declarations of
	static vars.
	(copy_arguments_for_versioning): If var is declared don't declare it.
	(tree_function_versioning): First setup substitutions and then copy
	args.

From-SVN: r144497
2009-02-28 22:14:43 +00:00
Jan Hubicka 261401301f re PR debug/39267 (gdb testsuite regressions)
PR debug/39267
	* cgraph.h (varpool_output_debug_info): Remove.
	* cgraphunit.c (varpool_output_debug_info): Remove.
	* dwarf2out.c (deferred_locations_struct): New struct
	(deferred_locations): New type.
	(deferred_locations_list): New static var.
	(deffer_location): New function.
	(gen_variable_die): Use it.
	(decls_for_scope): Output info on local static vars.
	(dwarf2out_finish): Process deferred locations.
	* varpool.c (varpool_output_debug_info): Remove.

From-SVN: r144496
2009-02-28 21:34:23 +00:00
Giovanni Bajo 593b6421cd It has been a long time since I updated this....
From-SVN: r144494
2009-02-28 20:47:01 +00:00
Giovanni Bajo 42ab928203 add alpha_if_semocolon fix
From-SVN: r144490
2009-02-28 18:13:31 +00:00
Eric Botcazou 7d01864f1b Makefile.in (cygwin/mingw): Revert accidental EH_MECHANISM change in r130816.
* gcc-interface/Makefile.in (cygwin/mingw): Revert accidental
	EH_MECHANISM change in r130816.

From-SVN: r144488
2009-02-28 17:29:55 +00:00
GCC Administrator e91f17c00d Daily bump.
From-SVN: r144479
2009-02-28 00:16:57 +00:00
Eric Botcazou f10a1c6cae Fix long lines.
From-SVN: r144476
2009-02-27 20:17:29 +00:00
Jan Hubicka cff7525fb0 re PR debug/39267 (gdb testsuite regressions)
PR debug/39267
	* tree.h (TREE_PROTECTED): Fix comment.
	(BLOCK_HANDLER_BLOCK): Remove.
	(struct tree_block): Remove handler_block add body_block.
	(inlined_function_outer_scope_p): New.
	(is_body_block): Remove.
	* dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
	* dwarf2out.c (is_inlined_entry_point): Remove.
	(add_high_low_attributes): Use inlined_function_outer_scope_p.
	(gen_block_die): Use is_inlined_entry_point check; remove body block code.
	* langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
	* gimplify.c (gimplify_expr): Gimplify body blocks.
	* tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper block
	with multiple subblocks.
	(dump_scope_block): Prettier output; dump more flags and info.
	(dump_scope_blocks): New.
	(remove_unused_locals): Use dump_scope_blocks.
	* tree-flow.h (dump_scope_blocks): Declare.
	* tree-cfg.c (execute_build_cfg): Dump scope blocks.
	* stmt.c (is_body_block): Remove.
	* tree-inline.c (remap_block): Copy BODY_BLOCK info.
	* langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.

From-SVN: r144474
2009-02-27 19:49:42 +00:00
Sebastian Pop c20993b995 re PR middle-end/39308 (ICE when compiling with -O[s123] -floop-interchange)
2009-02-27  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/39308
	* graphite.c (graphite_loop_normal_form): Do not call 
	number_of_iterations_exit from a gcc_assert.

From-SVN: r144470
2009-02-27 16:42:38 +00:00
Andreas Krebbel e3cba5e5af s390.c: (s390_swap_cmp): Look for conditional jumps if COND is NULL.
2009-02-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc/config/s390/s390.c: (s390_swap_cmp): Look for conditional
	jumps if COND is NULL.
	(find_cond_jump): New function.
	(s390_z10_optimize_cmp): Handling for reg-reg compares added.
	* gcc/config/s390/s390.md: Remove z10_cobra attribute value.

From-SVN: r144466
2009-02-27 14:56:19 +00:00
Andreas Schwab c9e9e11f46 Update e-mail address.
From-SVN: r144465
2009-02-27 14:44:33 +00:00
Andreas Schwab 4c354194b4 Add PR ref.
From-SVN: r144464
2009-02-27 09:56:42 +00:00
Andreas Schwab a760c9774c Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
gcc/ada/:
	* Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
	* gcc-interface/Makefile.in: Change all uses of $(srcdir),
	$(fsrcdir) and $(fsrcpfx) to add ada subdir.
	(AWK): Substitute.
	(target_cpu_default): Substitute.

gnattools/:
	* Makefile.in (fsrcdir): Point to gcc directory, not gcc/ada.
	(INCLUDES_FOR_SUBDIR): Adjust.
	(ADA_INCLUDES_FOR_SUBDIR): Adjust.

From-SVN: r144463
2009-02-27 09:54:25 +00:00
Tobias Burnus 30929a13ef re PR fortran/39309 (.mod file versioning causes error instead of overwritting the file)
2009-02-27  Tobias Burnus  <burnus@net-b.de>

       PR fortran/39309
       * module.c (read_md5_from_module_file): Add missing quote.

From-SVN: r144462
2009-02-27 08:45:47 +01:00
Tobias Burnus 99b54b33b4 re PR fortran/39309 (.mod file versioning causes error instead of overwritting the file)
2009-02-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39309
        * module.c (read_md5_from_module_file): Include mod version
        in had-changed test.

From-SVN: r144461
2009-02-27 07:44:59 +01:00
GCC Administrator ba9b914485 Daily bump.
From-SVN: r144460
2009-02-27 00:16:41 +00:00
H.J. Lu aad5badd41 re PR c++/37789 (ICE with __FUNCTION__)
gcc/cp

2009-02-26  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/37789
	* parser.c (cp_parser_mem_initializer): Return error_mark_node
	if cp_parser_mem_initializer_id returns error_mark_node.

gcc/testsuite/

2009-02-26  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/37789
	* other/pr37789.C: New.

From-SVN: r144451
2009-02-26 11:59:38 -08:00
Uros Bizjak 9dadeeb83c alpha.h (alpha_expand_mov): Return false if force_const_mem returns NULL_RTX.
* config/alpha/alpha.h (alpha_expand_mov): Return false if
	force_const_mem returns NULL_RTX.

From-SVN: r144450
2009-02-26 19:48:34 +01:00
Paul Thomas 489ec4e3bd re PR fortran/39295 (Too strict interface conformance check)
2009-02-26  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39295
	* interface.c (compare_type_rank_if): Return 1 if the symbols
	are the same and deal with external procedures where one is
	identified to be a function or subroutine by usage but the
	other is not.

2009-02-26  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39295
	* gfortran.dg/interface_25.f90: New test.
	* gfortran.dg/interface_26.f90: New test.

From-SVN: r144449
2009-02-26 18:43:50 +00:00
H.J. Lu ebb9cc41a8 Split ChangeLog to ChangeLog-2007 and ChangeLog-2008.
From-SVN: r144448
2009-02-26 07:31:11 -08:00
H.J. Lu 38432148f9 Correct year.
From-SVN: r144447
2009-02-26 07:26:52 -08:00
Paul Thomas c1cfed038a re PR fortran/39292 (ICE in gfc_conv_array_initializer, at fortran/trans-array.c:3884)
2009-02-26  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39292
	* trans-array.c (gfc_conv_array_initializer): Convert all
	expressions rather than ICEing.

2009-02-26  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/39292
	* gfortran.dg/initialization_22.f90: New test.

From-SVN: r144444
2009-02-26 06:23:42 +00:00
GCC Administrator 1a46aef0bd Daily bump.
From-SVN: r144442
2009-02-26 00:16:58 +00:00
Andrew John Hughes 8570e38d8d Add missing class file.
From-SVN: r144437
2009-02-25 22:26:47 +00:00
Andrew John Hughes dc6a0b2d94 Sync libgcj with GNU Classpath 0.98.
2009-02-13  Andrew John Hughes  <ahughes@redhat.com>

	Import GNU Classpath (classpath-0_98-release).

	* Makefile.am: Add natVMSecureRandom.cc.
	* Makefile.in: Regenerated.
	* classpath/ChangeLog,
	* classpath/Makefile.am: Merged.
	* classpath/Makefile.in: Regenerated.
	* classpath/NEWS: Merged.
	* classpath/config.guess,
	* classpath/config.sub,
	* classpath/configure: Regenerated.
	* classpath/configure.ac: Merged.
	* classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
	* classpath/gnu/java/security/jce/prng/SecureRandomAdapter.java,
	* classpath/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
	* classpath/gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
	* classpath/gnu/javax/crypto/jce/prng/FortunaImpl.java,
	* classpath/gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
	* classpath/gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
	* classpath/gnu/javax/crypto/prng/ICMGenerator.java,
	* classpath/gnu/xml/stream/XMLParser.java,
	* classpath/java/security/SecureRandom.java,
	* classpath/native/jni/native-lib/cpproc.c,
	* classpath/native/plugin/gcjwebplugin.cc,
	* classpath/tools/gnu/classpath/tools/gjdoc/Main.java: Merged.
	* configure: Regenerated.
	* configure.ac: Add symlink for natVMSecureRandomPosix.cc to natVMSecureRandom.cc
	* gnu/classpath/Configuration.java: Change version to 0.98.
	* gnu/java/security/jce/prng/SecureRandomAdapter.h: Regenerated.
	* gnu/java/security/jce/prng/VMSecureRandom.h: Generated.
	* gnu/java/security/jce/prng/VMSecureRandom.java: Added native implementation.
	* gnu/java/security/jce/prng/natVMSecureRandomPosix.cc: Wrapper around /dev/random.
	* gnu/javax/crypto/jce/prng/CSPRNGSpi.h,
	* gnu/javax/crypto/jce/prng/FortunaImpl.h,
	* java/security/SecureRandom.h: Regenerated.
	* java/security/VMSecureRandom$Spinner.h,
	* java/security/VMSecureRandom.h,
	* java/security/VMSecureRandom.java: Removed.
	* sources.am: Move VMSecureRandom to gnu.java.security.jce.prng.

From-SVN: r144434
2009-02-25 21:40:28 +00:00
Adam Nemet a16b68bb66 Fixed location of libgomp.exp.
From-SVN: r144433
2009-02-25 20:14:34 +00:00
H.J. Lu 8592acaf3c re PR rtl-optimization/39241 (ICE in subreg_get_info, at rtlanal.c:3104)
gcc/

2008-02-25  H.J. Lu  <hongjiu.lu@intel.com>

	PR rtl-optimization/39241
	* jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
	to subreg_offset_representable_p.

gcc/testsuite/

2008-02-25  H.J. Lu  <hongjiu.lu@intel.com>

	PR rtl-optimization/39241
	* gcc.dg/torture/pr39241.c: New.

From-SVN: r144430
2009-02-25 10:49:28 -08:00
Paolo Bonzini 62d049cf1e regmove.c (regmove_optimize): Conform to struct rtl_opt_pass execute function prototype.
2009-02-25  Paolo Bonzini  <bonzini@gnu.org>

	* regmove.c (regmove_optimize): Conform to struct rtl_opt_pass
	execute function prototype.  Get f and nregs from max_reg_num
	and get_insns.  Remove the first backward pass as it's dead,
	guard the forward pass by flag_expensive_optimizations.
	(rest_of_handle_regmove): Delete.
	(pass_regmove): Replace it with regmove_optimize.

From-SVN: r144429
2009-02-25 18:12:29 +00:00
Martin Jambor f618d33ef1 tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and alls_alloca function flags.
2009-02-25  Martin Jambor  <mjambor@suse.cz>

	* tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and
	alls_alloca function flags.
	(copy_bb): Set calls_setjmp and alls_alloca function flags if such
	calls are detected.

From-SVN: r144428
2009-02-25 18:34:40 +01:00
Laurent GUERBY 054efbba9d a-teioed.adb (Expand): Fix Result overflow.
2009-02-25  Laurent GUERBY  <laurent@guerby.net>

        * a-teioed.adb (Expand): Fix Result overflow.

From-SVN: r144427
2009-02-25 17:22:58 +00:00
Laurent GUERBY 2692d7f533 Makefile.in: Fix multilib handling for sparc64-linux.
2009-02-25  Laurent GUERBY <laurent@guerby.net>

        * gcc-interface/Makefile.in: Fix multilib handling for
        sparc64-linux.

From-SVN: r144426
2009-02-25 16:59:13 +00:00
Paolo Bonzini c8a05f7c57 regmove.c (discover_flags_reg, [...]): Delete.
2009-02-25  Paolo Bonzini  <bonzini@gnu.org>

	* regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones,
	flags_set_1_rtx, flags_set_1_set): Delete.
	(regmove_optimize): Do not call mark_flags_life_zones.

From-SVN: r144425
2009-02-25 14:08:14 +00:00
Julian Brown 6d2538f5f9 re PR target/35965 ([4.3 only] -fstack-protector produces segfaulting binaries on arm/armel)
2009-02-24  Julian Brown  <julian@codesourcery.com>

	PR target/35965
	* config/arm/arm.c (require_pic_register): Only set
	cfun->machine->pic_reg once per function.

	Patch commited by Doug Kwan <dougkwan@google.com>

From-SVN: r144424
2009-02-25 07:18:01 +00:00
Sandra Loosemore a2fa6772d2 invoke.texi (Link Options): Document an easier way to pass options that take arguments to the GNU linker...
2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/invoke.texi (Link Options): Document an easier way to pass
	options that take arguments to the GNU linker using -Xlinker and
	-Wl.

From-SVN: r144423
2009-02-24 20:44:45 -05:00
GCC Administrator c6fddadf2a Daily bump.
From-SVN: r144421
2009-02-25 00:17:07 +00:00
Michael Eager 5e8c155263 Fix typo.
From-SVN: r144418
2009-02-25 00:12:42 +00:00
Steve Ellcey 5472de36b6 re PR target/33785 (TARGET_C99_FUNCTIONS default wrong in tm.texi)
PR target/33785
	* doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.

From-SVN: r144411
2009-02-24 16:28:07 +00:00
Michael Eager b48d5f6888 Add self to MAINTAINERS.
From-SVN: r144410
2009-02-24 16:20:22 +00:00