Commit Graph

50702 Commits

Author SHA1 Message Date
Richard Henderson
a5c2492672 alpha-protos.h, [...]: Update to ISO C.
* config/alpha/alpha-protos.h, config/alpha/elf.h,
        config/alpha/osf.h, config/alpha/unicosmk.h, config/alpha/vms.h,
        config/alpha/vms-cc.c, config/alpha/vms-ld.c: Update to ISO C.
        * config/alpha/alpha.c: Likewise.  Move targetm init to end of file.
        Remove unneeded static function decls.

From-SVN: r68000
2003-06-15 23:18:41 -07:00
Neil Booth
7b086b11df c-opts.c (c_common_handle_option): s/on/value/.
* c-opts.c (c_common_handle_option): s/on/value/.
	(OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value
	directly rather than converting the argument.
	* c.opt: Update docs.  Use UInteger where appropriate.
	* common.opt: Use UInteger where appropriate.
	* opts.c (integral_argument): New.
	(handle_argument): Handle integral arguments, and optional
	joined arguments.
	(common_handle_option): Update.
	* opts.h (CL_MISSING_OK, CL_UINTEGER): New.
	* opts.sh: Handle JoinedOrMissing and UInteger flags.
java:
	* lang.c (java_handle_option): Special-casing of optional
	joined arguments no longer needed.
	* lang.opt: Update switches that take optional argument.

From-SVN: r67999
2003-06-16 05:47:07 +00:00
Neil Booth
89aa997ab8 sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove unnecessary extern declaration.
* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
	unnecessary extern declaration.

From-SVN: r67998
2003-06-16 05:36:34 +00:00
Nathanael Nerode
2a71dcad7f gofast.h, [...]: GNU CC -> GCC.
* config/gofast.h, config/interix.h, config/interix3.h,
	config/libgloss.h, config/linux-aout.h, config/linux.h,
	config/lynx-ng.h, config/lynx.h: GNU CC -> GCC.
	* config/kaos.h: "GNU compiler" -> GCC.
	* config/linux-aout.h, config/lynx.h: Clarify comment describing file.

From-SVN: r67997
2003-06-16 02:41:51 +00:00
Nathanael Nerode
0743f00d18 crt0.S, [...]: GNU CC -> GCC.
* config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
	config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S:
	GNU CC -> GCC.

From-SVN: r67996
2003-06-16 02:18:35 +00:00
Nathanael Nerode
612aeba53b svr3.h: Remove #if 0 code, misleading comments.
* config/svr3.h: Remove #if 0 code, misleading comments.
	GNU CC -> GCC.

From-SVN: r67995
2003-06-16 02:14:20 +00:00
GCC Administrator
44f324c4bd Daily bump.
From-SVN: r67993
2003-06-16 00:16:07 +00:00
Zack Weinberg
64c1652c22 vmsdbgout.c (vmsdbgout_finish): Rename parameter to main_input_filename to avoid conflict with input_filename macro.
* vmsdbgout.c (vmsdbgout_finish): Rename parameter to
	main_input_filename to avoid conflict with input_filename macro.

From-SVN: r67990
2003-06-15 23:36:37 +00:00
Richard Henderson
dc4add82a5 linker-map.gnu: Export virtual function thunks for 64-bit systems too.
* config/linker-map.gnu: Export virtual function thunks for
        64-bit systems too.

From-SVN: r67989
2003-06-15 16:24:00 -07:00
Neil Booth
8f95bd529b mips.h (asm_file_name, [...]): Remove.
* config/mips/mips.h (asm_file_name, g_switch_set,
	g_switch_value): Remove.
	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Remove
	unnecessary extern declarations.

From-SVN: r67988
2003-06-15 22:10:35 +00:00
Neil Booth
a352c71f32 frv.h: Remove declaration of g_switch_value.
* config/frv/frv.h: Remove declaration of g_switch_value.
	* config/m32r/m32r.h: Remove declaration of g_switch_value.
	* config/m68hc11/m68hc11.c: Remove declaration of asm_file_name.

From-SVN: r67987
2003-06-15 21:25:46 +00:00
Nathanael Nerode
a55a78d134 re PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses nonportable feature of getcwd))
PR java/9532
	* jartool.c (main) Give proper error messages with -C, and
	check for missing arguments properly.  Send error messages
	to stderr.
	* jartool.c (add_to_jar): Make getcwd() call portable,
	and check for error return.

From-SVN: r67985
2003-06-15 20:25:44 +00:00
Neil Booth
3d57a5ccfe * opts.sh: Quote '+' in regex.
From-SVN: r67984
2003-06-15 19:34:27 +00:00
Neil Booth
5641d6223e * opts.sh: Quote '+' in regex.
From-SVN: r67983
2003-06-15 19:21:48 +00:00
Andrew Pinski
117dca74cc t-rs6000: Add dependence of cfglayout.h to rs6000.o.
* config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
        * config/rs6000/rs6000.c: Include cfglayout.h.
        * config/alpha/alpha.c: Likewise.
        * config/ia64/ia64.c: Likewise.
        * config/sparc/sparc.c: Likewise.
        * config/sh/sh.c: Likewise.

From-SVN: r67982
2003-06-15 11:01:57 -07:00
Neil Booth
3ec764754d * opts.sh: Quote '+' in regex.
From-SVN: r67978
2003-06-15 15:28:24 +00:00
Nathan Sidwell
705de64c0b document why POSIXLY_CORRECT must be unset
From-SVN: r67977
2003-06-15 15:08:10 +00:00
Neil Booth
be43ab4e01 c-opts.c (lang_flags): Update for new spelling of flags.
* c-opts.c (lang_flags): Update for new spelling of flags.
	(write_langs): Similarly.
	* c.opt: Specify languages.
	* opts.h: Remove languages.
	* opts.sh: Recognise front-end defined languages.
ada:
	* lang.opt: Declare Ada.
	* misc.c (gnat_init_options): Update.
doc:
	* sourcebuild.texi: Update.
f:
	* lang.opt: Declare F77.
java:
	* lang.opt: Declare Java.
	* lang.c (java_init_options): Update.
treelang:
	* lang.opt: Declare Treelang.  Update.
	* tree1.c (treelang_init_options): Update.

From-SVN: r67976
2003-06-15 14:56:32 +00:00
Andreas Jaeger
4682ae0463 alloc-pool.c: Convert to ISO C90 prototypes.
* alloc-pool.c: Convert to ISO C90 prototypes.
	* alloc-pool.h: Likewise.
	* alias.c: Likewise.
	* attribs.c: Likewise.
	* bb-reorder.c: Likewise.
	* bitmap.h: Likewise.
	* bitmap.c: Likewise.
	* builtins.c: Likewise.

	* tree.h: Convert prototypes of attribs.c to ISO C90.
	* basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
	* rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
	* expr.h: Convert prototypes of builtins.c to ISO C90.

From-SVN: r67975
2003-06-15 15:43:32 +02:00
Richard Kenner
cbdb4ba2dc * gencheck.c (main): Avoid generating duplicate macros.
From-SVN: r67974
2003-06-15 09:36:07 -04:00
Roger Sayle
9d5b9daeb9 i386.md (expsf2, [...]): New patterns to implement exp, expf and expl built-ins as inline x87 intrinsics.
* config/i386/i386.md (expsf2, expdf2, expxf2): New patterns to
	implement exp, expf and expl built-ins as inline x87 intrinsics.
	(UNSPEC_FSCALE, UNSPEC_FRNDINT, UNSPEC_F2XM1): New unspecs to
	represent x87's fscale, frndint and f2xm1 insns respectively.
	(*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): New insn patterns
	to encode x87's "fscale" instruction followed by a pop.
	(*frndintxf2): New insn pattern for "frndint".
	(*f2xm1xf2): New insn pattern for "f2xm1".

	* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT and
	UNSPEC_F2XM1 like UNSPEC_{SIN,COS} and handle UNSPEC_FSCALE like
	UNSPEC_FPATAN.

	* gcc.dg/builtins-22.c: New test case.
	* gcc.dg/i386-387-1.c: Update to test exp.
	* gcc.dg/i386-387-2.c: Likewise.

From-SVN: r67973
2003-06-15 13:32:31 +00:00
Richard Kenner
84fb201905 Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of knowing names of language subdirectories.
* Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of
	knowing names of language subdirectories.

From-SVN: r67972
2003-06-15 09:12:58 -04:00
Neil Booth
d185d26881 c-pch.c (asm_file_name): Remove.
* c-pch.c (asm_file_name): Remove.
	* common.opt: Add more switches.
	* flags.h (g_switch_set): Boolify.
	* opts.c (g_switch_value, g_switch_set, exit_after_options,
	version_flag): Move from toplev.c.
	(common_handle_option): Handle more switches from toplev.c.
	* toplev.c (display_help, display_target_options, decode_d_option,
	print_version): Make non-static, remove prototypes.
	(aux_base_name, asm_file_name, aux_info_file_name): Constify.
	(version_flag, g_switch_value, g_switch_set, exit_after_options):
	Remove.
	(independent_decode_option): Move some handlers to opts.c.
	* toplev.h (aux_info_file_name, aux_base_name, asm_file_name,
	exit_after_options, version_flag, display_help, display_target_options,
	print_version, decode_d_option): New.
java:
	* lang.c (version_flag): Rename to v_flag to avoid clash w/ toplev.h.

From-SVN: r67971
2003-06-15 08:30:02 +00:00
Kazu Hirata
72ac76be3a alpha.md: Follow spelling conventions.
* config/alpha/alpha.md: Follow spelling conventions.
	* config/arm/arm.c: Likewise.
	* config/arm/arm.h: Likewise.
	* config/arm/arm.md: Likewise.
	* config/arm/crtn.asm: Likewise.
	* config/m32r/m32r.c: Likewise.
	* config/m32r/m32r.md: Likewise.
	* config/rs6000/rs6000.c: Likewise.

From-SVN: r67970
2003-06-15 07:51:35 +00:00
Richard Henderson
a2855205a5 alpha.c (alpha_output_mi_thunk_osf): Call insn_locators_initialize.
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call
        insn_locators_initialize.
        * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
        * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
        * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
        * config/sh/sh.c (sh_output_mi_thunk): Do it later.

From-SVN: r67969
2003-06-15 00:36:43 -07:00
Kazu Hirata
51fbbb3054 builtins.c (expand_builtin_expect_jump): Remove redundant tests that are also in any_condjump_p().
* builtins.c (expand_builtin_expect_jump): Remove redundant
	tests that are also in any_condjump_p().

From-SVN: r67966
2003-06-15 06:55:55 +00:00
Kaveh R. Ghazi
e87b9d8b7a libgcc2.c: Delete sysV68 L_trampoline section.
* libgcc2.c: Delete sysV68 L_trampoline section.
	* config/m68k/mot3300-crt0.S: Delete file.
	* config/m68k/mot3300Mcrt0.S: Likewise.

From-SVN: r67965
2003-06-15 05:47:39 +00:00
Nathanael Nerode
ad9b8af6f9 aoutos.h: Remove.
* config/aoutos.h: Remove.
	* config.gcc: Remove reference to aoutos.h.
	* config/m68k/m68k-aout.h: Remove reference to aoutos.h.

From-SVN: r67964
2003-06-15 04:47:43 +00:00
Nathanael Nerode
9632acfc60 bes.c, dbes.c: Remove.
* libU77/bes.c, libU77/dbes.c: Remove.
	* libU77/Makefile.in: Remove references to bes.c, dbes.c

From-SVN: r67963
2003-06-15 04:43:18 +00:00
Kazu Hirata
0b4be7de75 install.texi: Follow spelling conventions.
* doc/install.texi: Follow spelling conventions.
	* doc/tm.texi: Likewise.
	* config/fp-bit.c: Likewise.
	* config/arm/arm.c: Likewise.
	* config/frv/frv.c: Likewise.
	* config/ns32k/NOTES: Likewise.
	* config/ns32k/STATUS: Likewise.

From-SVN: r67962
2003-06-15 04:00:48 +00:00
GCC Administrator
b2a67e419c Daily bump.
From-SVN: r67960
2003-06-15 00:16:07 +00:00
Neil Booth
cef67dcecf lang-specs.h: Rewrite -MD and -MMD to append an underscore.
* lang-specs.h: Rewrite -MD and -MMD to append an underscore.
	* lang.c (java_handle_option): -MD and -MMD have an underscore.
	* lang.opt: -MD and -MMD have an underscore.

From-SVN: r67958
2003-06-14 22:25:50 +00:00
Roger Sayle
06f31100d2 rtl.h (STORE_FLAG_VALUE): Remove default definition from here.
* rtl.h (STORE_FLAG_VALUE): Remove default definition from here.
	* defaults.h (STORE_FLAG_VALUE): Move default definition to here.
	* doc/tm.texi (STORE_FLAG_VALUE): Document the default value.

	* config/alpha/alpha.h (STORE_FLAG_VALUE): Remove definition.
	* config/arc/arc.h (STORE_FLAG_VALUE): Likewise.
	* config/arm/arm.h (STORE_FLAG_VALUE): Likewise.
	* config/cris/cris.h (STORE_FLAG_VALUE): Likewise.
	* config/i370/i370.h (STORE_FLAG_VALUE): Likewise.
	* config/i386/i386.h (STORE_FLAG_VALUE): Likewise.
	* config/i960/i960.h (STORE_FLAG_VALUE): Likewise.
	* config/ia64/ia64.h (STORE_FLAG_VALUE): Likewise.
	* config/ip2k/ip2k.h (STORE_FLAG_VALUE): Likewise.
	* config/m32r/m32r.h (STORE_FLAG_VALUE): Likewise.
	* config/mcore/mcore.h (STORE_FLAG_VALUE): Likewise.
	* config/mips/mips.h (STORE_FLAG_VALUE): Likewise.
	* config/mmix/mmix.h (STORE_FLAG_VALUE): Likewise.
	* config/ns32k/ns32k.h (STORE_FLAG_VALUE): Likewise.
	* config/pa/pa.h (STORE_FLAG_VALUE): Likewise.
	* config/pdp11/pdp11.h (STORE_FLAG_VALUE): Likewise.
	* config/sh/sh.h (STORE_FLAG_VALUE): Likewise.
	* config/sparc/sparc.h (STORE_FLAG_VALUE): Likewise.
	* config/v850/v850.h (STORE_FLAG_VALUE): Likewise.
	* config/xtensa/xtensa.h (STORE_FLAG_VALUE): Likewise.

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>

From-SVN: r67957
2003-06-14 21:47:45 +00:00
Nathan Sidwell
b7a7058884 * opts.sh (POSIXLY_CORRECT): Unset it.
From-SVN: r67954
2003-06-14 17:40:07 +00:00
Nathan Sidwell
ee6b0296b8 tree.h (init_function_start): Remove filename and line paramters.
* tree.h (init_function_start): Remove filename and line paramters.
	* function.c (init_function_start): Remove filename and line
	parameters. Use DECL_SOURCE_LOCATION.
	* c-decl.c (store_parm_decls): Adjust init_function_start call.
	(c_expand_body_1): Likewise.
	* coverage.c (create_coverage): Likewise.

	* ada/utils.c (begin_subprog_body): Adjust init_function_start
	call.

	* cp/decl.c (start_function): Adjust init_function_start call.
	* cp/method.c (use_thunk): Likewise.
	* cp/semantics.c (genrtl_start_function): Likewise.

	* f/com.c (stor_parm_decls): Adjust init_function_start call.

	* java/class.c (emit_register_classes): Adjust init_function_start
	call.
	* java/decl.c (complete_start_java_method): Likewise.
	* java/resource.c (write_resource_constructor): Likewise.

	* objc/objc-act.c (build_tmp_function_decl): Set line number to
	zero.
	(hack_method_prototype): Adjust init_function_start call.

	* treelang/treetree.c (tree_code_create_function_initial): Adjust
	init_function_start call.

From-SVN: r67953
2003-06-14 17:33:32 +00:00
Richard Earnshaw
2fbe6bc2ba re PR target/3724 ([ARM]Illegal instruction when profiling optimized code on arm-linux)
PR target/3724
* arm/linux-elf.h (PROFILE_HOOK): Define.

From-SVN: r67950
2003-06-14 17:11:57 +00:00
Richard Earnshaw
75d2580c0c re PR target/11183 ([arm] ICE in change_address_1 (3.3) / subreg_hard_regno (3.4))
PR target/11183
* arm.h (CANNOT_CHANGE_MODE_CLASS): Define.

From-SVN: r67947
2003-06-14 15:54:02 +00:00
Roger Sayle
3708da2ac5 opts.sh: Work around a mysterious feature in cygwin's gawk where specifying the input...
* opts.sh: Work around a mysterious feature in cygwin's gawk
	where specifying the input files explicitly has a different
	behavior to piping them via stdin.

From-SVN: r67946
2003-06-14 15:05:41 +00:00
Neil Booth
9756074d28 sourcebuild.texi: Document opt.lang and a language-specific flag in opts.h.
* doc/sourcebuild.texi: Document opt.lang and a language-specific
	flag in opts.h.

From-SVN: r67945
2003-06-14 14:57:29 +00:00
Richard Earnshaw
a4a37b305c re PR target/11183 ([arm] ICE in change_address_1 (3.3) / subreg_hard_regno (3.4))
PR target/11183
* arm.c (output_move_double): Pass SImode to adjust_address.

From-SVN: r67943
2003-06-14 14:16:39 +00:00
H.J. Lu
b951c91c76 config.guess: Update to 2003-06-12 version.
2003-06-14  H.J. Lu <hongjiu.lu@intel.com>

	* config.guess: Update to 2003-06-12 version.
	* config.sub: Update to 2003-06-13 version.

From-SVN: r67942
2003-06-14 07:08:09 -07:00
Neil Booth
d7b4261875 Makefile.in: Update to use common.opt and lang_opt_files.
* Makefile.in: Update to use common.opt and lang_opt_files.
	(c-options.c, c-options.h): Remove.
	(options.c, options.h): Add.
	* c-opts.c: Include options.h not c-options.h.
	* common.opt: New file.
	* configure, configure.in: Add lang_opt_files.
	* opts.c: Include flags.h and diagnostic.h.
	(common_handle_option): New.
	(handle_option): Update to recognize common options and all
	language-dependent options.
	* opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New.
	(struct cl_option): Make flags of type int.
	* opts.h: Flag option with front ends to which it applies.
	Handle duplicate options.
	* toplev.c (filename): Remove.
	(independent_decode_option): Don't handle filenames and -quiet.
	(process_options, do_compile): Update.
ada:
	* Make-lang.in: Update to use options.c and options.h.
	* misc.c: Include options.h not aoptions.h.
	(gnat_handle_option): Abort on unrecognized switch.
	(gnat_init_options): Request Ada switches.
cp:
	* Make-lang.in: Remove c-options.o.
f:
	* Make-lang.in: Update to use options.c and options.h.
	* top.c: Include options.h not f-options.h.
	(gnat_handle_option): Abort on unrecognized switch.
	(ffe_init_options): From com.c.  Request F77 options.
	(ffe_handle_options): Abort on unrecognized switch.
	* com.c (ffe_init_options): Move to top.c.
	* top.h (fee_init_options): New.
java:
	* Make-lang.in: Update to use options.c and options.h.
	* lang.c: Include options.h not j-options.h.
	(java_handle_option): Abort on unrecognized option.
	(java_init_options): Request Java switches.
treelang:
	* Make-lang.in: Update to use options.c and options.h.
	* tree1.c: Include options.h not t-options.h.
	(treelang_init_options): New.
	(treelang_handle_option): Abort on unrecognized switch.
	* treetree.c (LANG_HOOKS_INIT_OPTIONS): Override.
	* treetree.h (treelang_init_options): New.

From-SVN: r67941
2003-06-14 12:26:36 +00:00
Michael Koch
81d2d258f5 2003-06-14 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileChannelImpl.java
        (map_address): Removed incorrect comment.
	* gnu/java/nio/SelectorImpl.java
        (register): Remove code duplication and code for file channel handling.
	* gnu/java/nio/ServerSocketChannelImpl.java
        (serverSocket): Renamed from sock_object.
        (ServerSocketChannel): Initialize serverSocket.
        (socket): Return serverSocket.
	* gnu/java/nio/SocketChannelImpl.java
        (socket): Renamed from sock_object.
        (isConnectionPenging): Simplified.
        (socket): Return socket.

From-SVN: r67940
2003-06-14 11:53:02 +00:00
Nick Clifton
34e8290f95 install.texi (Specific): Add description of different ARM supported file format targets.
2003-06-14  Nick Clifton  <nickc@redhat.com>

	* doc/install.texi (Specific): Add description of different
	ARM supported file format targets.

From-SVN: r67939
2003-06-14 11:15:49 +00:00
Gerald Pfeifer
f540975a80 snapshot-README: Use GCC instead of gcc...
* snapshot-README: Use GCC instead of gcc, C++ front end instead of
	g++ language, and note that Java includes a run time.
	* snapshot.index.html: Ditto.

From-SVN: r67938
2003-06-14 10:57:54 +00:00
Jan Hubicka
281ac6046f reorg.c (emit_delay_sequence, [...]): Clear insn locators inside delay slots.
* reorg.c (emit_delay_sequence, dbr_schedule): Clear insn locators
	inside delay slots.

From-SVN: r67937
2003-06-14 09:14:38 +00:00
Neil Booth
57eb650394 lang.opt: Add -Wall.
* lang.opt: Add -Wall.
	* misc.c (gnat_handle_option): Handle it.

From-SVN: r67935
2003-06-14 09:02:23 +00:00
Michael Koch
e8fb93c94f BasicPermission.java: New version from classpath.
2003-06-14  Michael Koch  <konqueror@gmx.de>

	* java/security/BasicPermission.java:
	New version from classpath.

From-SVN: r67934
2003-06-14 05:45:12 +00:00
Michael Koch
d10341eaa2 Attribute.java: New version from classpath.
2003-06-14  Michael Koch  <konqueror@gmx.de>

	* javax/naming/directory/Attribute.java:
	New version from classpath.

From-SVN: r67933
2003-06-14 05:44:54 +00:00
Michael Koch
6b4683e27c BufferedReader.java, [...]: New versions from classpath.
2003-06-14  Michael Koch  <konqueror@gmx.de>

	* java/io/BufferedReader.java,
	java/io/FileOutputStream.java:
	New versions from classpath.

From-SVN: r67932
2003-06-14 05:44:38 +00:00