summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/uninit-H.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-01 20:24:10 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-01 20:24:10 +0000
commit232012d4d78522a22cd742932b1f3d2eea855bcb (patch)
tree4e657458a9dd38e601606a4875590fd2eb4ab575 /gcc/testsuite/gcc.dg/uninit-H.c
parent87a5a3fed09af6bfc2fc26825c957e48dacfd392 (diff)
downloadgcc-232012d4d78522a22cd742932b1f3d2eea855bcb.tar.gz
* gcc.dg/uninit-H.c (ASM): Define to "$sp" on MIPS targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89958 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/uninit-H.c')
-rw-r--r--gcc/testsuite/gcc.dg/uninit-H.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/uninit-H.c b/gcc/testsuite/gcc.dg/uninit-H.c
index 8098822b660..35dcdde261b 100644
--- a/gcc/testsuite/gcc.dg/uninit-H.c
+++ b/gcc/testsuite/gcc.dg/uninit-H.c
@@ -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