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]

[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


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