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]

fix uninit-H test for Xtensa


I've committed this patch on mainline so that this test works for Xtensa.

2004-11-22 Bob Wilson <bob.wilson@acm.org>

* gcc.dg/uninit-H.c: Define ASM for Xtensa targets.


Index: gcc.dg/uninit-H.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/uninit-H.c,v
retrieving revision 1.8
diff -u -r1.8 uninit-H.c
--- gcc.dg/uninit-H.c	9 Nov 2004 00:49:00 -0000	1.8
+++ gcc.dg/uninit-H.c	22 Nov 2004 22:36:47 -0000
@@ -18,6 +18,8 @@
 # define ASM __asm__("r12")
 #elif defined __hppa__
 # define ASM __asm__("%r30")
+#elif defined __xtensa__
+# 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]