The test case gcc.target/mips/loongson-simd.c fails when the multilib options include -mmicromips. This patch fixes it analogously to how this test case already ignores MIPS16ness.

OK to commit?

-Sandra


2014-05-12  Nathan Sidwell  <nat...@codesourcery.com>
            Sandra Loosemore  <san...@codesourcery.com>

        gcc/testsuite/
        * gcc.target/mips/loongson-simd.c: Disable micromips too.

Index: gcc/testsuite/gcc.target/mips/loongson-simd.c
===================================================================
--- gcc/testsuite/gcc.target/mips/loongson-simd.c	(revision 210340)
+++ gcc/testsuite/gcc.target/mips/loongson-simd.c	(working copy)
@@ -19,10 +19,10 @@ along with GCC; see the file COPYING3.  
 <http://www.gnu.org/licenses/>.  */
 
 /* { dg-do run } */
-/* loongson.h does not handle or check for MIPS16ness.  There doesn't
-   seem any good reason for it to, given that the Loongson processors
-   do not support MIPS16.  */
-/* { dg-options "isa=loongson -mhard-float -mno-mips16 -flax-vector-conversions" } */
+/* loongson.h does not handle or check for MIPS16ness or
+   microMIPSness.  There doesn't seem any good reason for it to, given
+   that the Loongson processors do not support either.  */
+/* { dg-options "isa=loongson -mhard-float -mno-micromips -mno-mips16 -flax-vector-conversions" } */
 
 #include "loongson.h"
 #include <stdio.h>

Reply via email to