diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 80b5f148237..b30682c68d0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-10-08 Richard Sandiford + + * testsuite/gcc.c-torture/compile/mipscop-[1-4].c: Disable for mips16. + 2003-10-08 Giovanni Bajo * g++.dg/parse/error2.C: New test. diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c index 911aec2b40c..916a571db19 100644 --- a/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c @@ -1,5 +1,6 @@ /* { dg-do compile { target mips*-*-* } } */ +#ifndef __mips16 register unsigned int cp0count asm ("$c0r1"); int @@ -10,3 +11,4 @@ main (int argc, char *argv[]) d = cp0count + 3; printf ("%d\n", d); } +#endif diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c index 1f911829325..96b855ac829 100644 --- a/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c @@ -1,5 +1,6 @@ /* { dg-do compile { target mips*-*-* } } */ +#ifndef __mips16 register unsigned int c3r1 asm ("$c3r1"); extern unsigned int b, c; @@ -16,3 +17,4 @@ foo () d = c3r1; printf ("%d\n", d); } +#endif diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c index 014f33541dc..dd894c49d77 100644 --- a/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c +++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c @@ -1,5 +1,6 @@ /* { dg-do compile { target mips*-*-* } } */ +#ifndef __mips16 register unsigned int c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2"); extern unsigned int b, c; @@ -16,3 +17,4 @@ foo () d = c3r1; printf ("%d\n", d); } +#endif diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c index da249daa6ae..dfaa59e00ab 100644 --- a/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c +++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c @@ -1,5 +1,6 @@ /* { dg-do compile { target mips*-*-* } } */ +#ifndef __mips16 register unsigned long c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2"); extern unsigned long b, c; @@ -16,3 +17,4 @@ foo () d = c3r1; printf ("%d\n", d); } +#endif