summaryrefslogtreecommitdiffstats
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
parent87a5a3fed09af6bfc2fc26825c957e48dacfd392 (diff)
downloadppe42-gcc-232012d4d78522a22cd742932b1f3d2eea855bcb.tar.gz
ppe42-gcc-232012d4d78522a22cd742932b1f3d2eea855bcb.zip
* 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
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/uninit-H.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index aae1748b6a7..f0678a7753b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2004-11-01 Richard Sandiford <rsandifo@redhat.com>
+ * gcc.dg/uninit-H.c (ASM): Define to "$sp" on MIPS targets.
+
+2004-11-01 Richard Sandiford <rsandifo@redhat.com>
+
* g++.dg/abi/mangle6.C: Run for all MIPS targets. Provide dummy
strings for 32-bit code.
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
OpenPOWER on IntegriCloud