]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/mips/mips.opt
toplev.c (display_target_options): Avoid unused variable warning if TARGET_SWITCHES...
authorRichard Sandiford <rsandifo@redhat.com>
Tue, 15 Mar 2005 23:02:37 +0000 (23:02 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 15 Mar 2005 23:02:37 +0000 (23:02 +0000)
commitd522e7a2222a240910be4554bf202f21c1aa13e9
treefa5a894d86cd3f32de044265e220a3ef414aec33
parentcf1665b99c744e4f3608db9432a5dad941894d1c
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
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.opt
gcc/toplev.c