diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2005-03-15 23:02:37 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2005-03-15 23:02:37 +0000 |
commit | d522e7a2222a240910be4554bf202f21c1aa13e9 (patch) | |
tree | fa5a894d86cd3f32de044265e220a3ef414aec33 /gcc/toplev.c | |
parent | cf1665b99c744e4f3608db9432a5dad941894d1c (diff) | |
download | gcc-d522e7a2222a240910be4554bf202f21c1aa13e9.zip gcc-d522e7a2222a240910be4554bf202f21c1aa13e9.tar.gz gcc-d522e7a2222a240910be4554bf202f21c1aa13e9.tar.bz2 |
toplev.c (display_target_options): Avoid unused variable warning if TARGET_SWITCHES and TARGET_OPTIONS are both...
* toplev.c (display_target_options): Avoid unused variable warning if
TARGET_SWITCHES and TARGET_OPTIONS are both undefined.
* config/mips/mips.c (mips_arch_string, mips_tune_string): Make static.
(mips_isa_string, mips_abi_string, mips_fix_vr4130_string): Delete.
(mips_isa): Initialize to MIPS_ABI_DEFAULT.
(mips_isa_info): New variable.
(mips_parse_cpu): Remove the first argument and leave the caller
to report errors.
(TARGET_HANDLE_OPTION): Override default.
(mips_handle_option): New function. Move option validation code from...
(override_options): ...here. Update calls to mips_parse_cpu.
* config/mips/mips.h (mips_arch_string, mips_tune_string)
(mips_isa_string, mips_abi_string, TARGET_OPTIONS)
(SUBTARGET_TARGET_OPTIONS): Delete.
* config/mips/mips.opt (mabi=, march=, mflush-func=, mips)
(mno-flush-func, mtune=): New options.
From-SVN: r96536
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 04b02bc..855e04a 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1067,7 +1067,10 @@ compile_file (void) void display_target_options (void) { - int undoc, i; + int undoc; +#if defined (TARGET_SWITCHES) || defined (TARGET_OPTIONS) + int i; +#endif unsigned int cli; static bool displayed = false; |