This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] MIPS patch for gcc.dg/uninit-H.c
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 01 Nov 2004 20:26:13 +0000
- Subject: [committed] MIPS patch for gcc.dg/uninit-H.c
Another MIPS testsuite cleanup. This one just adds an appropriate
definition of ASM for MIPS targets.
Tested on mips64-linux-gnu. Committed as obvious.
Richard
* gcc.dg/uninit-H.c (ASM): Define to "$sp" on MIPS targets.
Index: testsuite/gcc.dg/uninit-H.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/uninit-H.c,v
retrieving revision 1.5
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.5 uninit-H.c
--- testsuite/gcc.dg/uninit-H.c 20 Aug 2004 15:10:17 -0000 1.5
+++ testsuite/gcc.dg/uninit-H.c 1 Nov 2004 20:22:05 -0000
@@ -10,6 +10,8 @@
# define ASM __asm__("r1")
#elif defined __s390__
# define ASM __asm__("r15")
+#elif defined __mips
+# define ASM __asm__("$sp")
#else
# define ASM
#endif