Patch: Fix gcc.dg/uninit-H.c on PA and IA64
Steve Ellcey
sje@cup.hp.com
Mon Nov 8 22:06:00 GMT 2004
> Hey, don't remove the __mips definition!
Whoops, I didn't notice that. I guess the mips and sparc lines were
added recently. I will check in the following and make sure I don't
delete anything:
2004-11-08 Steve Ellcey <sje@cup.hp.com>
* testsuite/gcc.dg/uninit-H.c: Add ifdefs for __hppa__ and __ia64__.
*** gcc.orig/gcc/testsuite/gcc.dg/uninit-H.c Mon Nov 8 12:55:49 2004
--- gcc/gcc/testsuite/gcc.dg/uninit-H.c Mon Nov 8 13:51:20 2004
***************
*** 14,19 ****
--- 14,23 ----
# 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
More information about the Gcc-patches
mailing list