summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/uninit-H.c
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 00:49:00 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 00:49:00 +0000
commit8a204adab2f445c3f50058cf4a0fb58467b3010a (patch)
tree2489b56edb1eade61c7c21acc3ed5b7732e9f8f8 /gcc/testsuite/gcc.dg/uninit-H.c
parentae71071949d1c74cba31deacd73072001f990622 (diff)
downloadgcc-8a204adab2f445c3f50058cf4a0fb58467b3010a.tar.gz
* testsuite/gcc.dg/uninit-H.c: Add ifdefs for __hppa__ and __ia64__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/uninit-H.c')
-rw-r--r--gcc/testsuite/gcc.dg/uninit-H.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/uninit-H.c b/gcc/testsuite/gcc.dg/uninit-H.c
index 5fe2d39ae52..e33f1e8940a 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