This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Allow -mno-smartmips for MIPS


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]