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]

Fix mips.opt use of InverseVar


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).

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

-- 
Joseph S. Myers
joseph@codesourcery.com


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