This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Make mipscop-* tests compile-only
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: echristo at redhat dot com
- Date: 15 Aug 2003 11:25:31 +0100
- Subject: Make mipscop-* tests compile-only
...since there's no guarantee that the assembler will recognise the
coprocessor register names.
Tested on the same targets as before. OK to install?
Richard
* gcc.c-torture/compile/mipscop*.c: Turn into compile-only tests.
Index: testsuite/gcc.c-torture/compile/mipscop-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c,v
retrieving revision 1.2
diff -u -d -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.2 mipscop-1.c
--- testsuite/gcc.c-torture/compile/mipscop-1.c 13 Jun 2003 05:41:01 -0000 1.2
+++ testsuite/gcc.c-torture/compile/mipscop-1.c 15 Aug 2003 10:21:23 -0000
@@ -1,4 +1,4 @@
-/* { dg-do assemble {target *mips*-*-* } } */
+/* { dg-do compile { target mips*-*-* } } */
register unsigned int cp0count asm ("$c0r1");
Index: testsuite/gcc.c-torture/compile/mipscop-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c,v
retrieving revision 1.2
diff -u -d -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.2 mipscop-2.c
--- testsuite/gcc.c-torture/compile/mipscop-2.c 13 Jun 2003 05:41:01 -0000 1.2
+++ testsuite/gcc.c-torture/compile/mipscop-2.c 15 Aug 2003 10:21:23 -0000
@@ -1,4 +1,4 @@
-/* { dg-do assemble {target *mips*-*-* } } */
+/* { dg-do compile { target mips*-*-* } } */
register unsigned int c3r1 asm ("$c3r1");
Index: testsuite/gcc.c-torture/compile/mipscop-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c,v
retrieving revision 1.2
diff -u -d -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.2 mipscop-3.c
--- testsuite/gcc.c-torture/compile/mipscop-3.c 13 Jun 2003 05:41:01 -0000 1.2
+++ testsuite/gcc.c-torture/compile/mipscop-3.c 15 Aug 2003 10:21:23 -0000
@@ -1,4 +1,4 @@
-/* { dg-do assemble {target *mips*-*-* } } */
+/* { dg-do compile { target mips*-*-* } } */
register unsigned int c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2");
Index: testsuite/gcc.c-torture/compile/mipscop-4.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c,v
retrieving revision 1.2
diff -u -d -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.2 mipscop-4.c
--- testsuite/gcc.c-torture/compile/mipscop-4.c 13 Jun 2003 05:41:01 -0000 1.2
+++ testsuite/gcc.c-torture/compile/mipscop-4.c 15 Aug 2003 10:21:23 -0000
@@ -1,4 +1,4 @@
-/* { dg-do assemble {target *mips*-*-* } } */
+/* { dg-do compile { target mips*-*-* } } */
register unsigned long c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2");