aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/uninit-H.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 16f5c4a..2f176e9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2004-11-08 Steve Ellcey <sje@cup.hp.com>
+ * testsuite/gcc.dg/uninit-H.c: Add ifdefs for __hppa__ and __ia64__.
+
+2004-11-08 Steve Ellcey <sje@cup.hp.com>
+
* testsuite/gcc.dg/20030225-2.c: Add prototype for abort and
exit.
diff --git a/gcc/testsuite/gcc.dg/uninit-H.c b/gcc/testsuite/gcc.dg/uninit-H.c
index 5fe2d39..e33f1e8 100644
--- a/gcc/testsuite/gcc.dg/uninit-H.c
+++ b/gcc/testsuite/gcc.dg/uninit-H.c
@@ -14,6 +14,10 @@
# define ASM __asm__("$sp")
#elif defined __sparc__
# define ASM __asm__("sp")
+#elif defined __ia64__
+# define ASM __asm__("r12")
+#elif defined __hppa__
+# define ASM __asm__("%r30")
#else
# define ASM
#endif