Patchwork Fix mips.opt use of InverseVar

login
register
mail settings
Submitter Joseph S. Myers
Date Feb. 17, 2011, 1:59 a.m.
Message ID <Pine.LNX.4.64.1102170159150.15478@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/83422/
State New
Headers show

Comments

Joseph S. Myers - Feb. 17, 2011, 1:59 a.m.
In <http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02366.html> I noted a
nonexistent .opt flag InverseVar being used in mips.opt.  I've now
committed this patch to change that option to use Var(TARGET_MDMX, 0)
in accordance with the apparent intent.  Tested building cc1 and xgcc
for cross to mips-elf.

2011-02-16  Joseph Myers  <joseph@codesourcery.com>

	* config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead
	of InverseVar(MDMX).

Patch

Index: gcc/config/mips/mips.opt
===================================================================
--- gcc/config/mips/mips.opt	(revision 170230)
+++ gcc/config/mips/mips.opt	(working copy)
@@ -239,7 +239,7 @@  Target RejectNegative
 Do not use a cache-flushing function before calling stack trampolines
 
 mno-mdmx
-Target Report RejectNegative InverseVar(MDMX)
+Target Report RejectNegative Var(TARGET_MDMX, 0)
 Do not use MDMX instructions
 
 mno-mips16