This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Allow -mno-smartmips for MIPS
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: "Fu\, Chao-Ying" <fu at mips dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 22 Oct 2008 08:33:26 +0100
- Subject: Re: [PATCH] Allow -mno-smartmips for MIPS
- References: <94BD67F8AF3ED34FA362C662BA1F12C501007E98@MTVEXCHANGE.mips.com>
"Fu, Chao-Ying" <fu@mips.com> writes:
> This patch fixes "mips.opt" to accept "-mno-smartmips".
> Based on gcc/ChangeLog-2007, "-msmartmips/-mno-smartmips"
> are allowed and passed to the assembler.
> Ex:
> 2007-07-05 Sandra Loosemore <sandra@codesourcery.com>
> David Ung <davidu@mips.com>
>
> Add support for SmartMIPS ASE.
> * config/mips/mips.c
> (ASM_SPEC): Add -msmartmips/-mno-smartmips.
> * doc/invoke.texi (MIPS Options): Document -msmartmips/-mno-smartmips.
Good catch. I see the ASM_SPEC really did add both.
> * config/mips/mips.opt (msmartmips): Accept -mno-smartmips.
OK for mainline and 4.3, thanks. (This is IMO a regression in 4.3.
We have a documented option that isn't in fact accepted.)
Richard