public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Patch: Fix gcc.dg/uninit-H.c on PA and IA64
@ 2004-11-08 21:31 Steve Ellcey
  2004-11-08 21:45 ` Richard Sandiford
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Ellcey @ 2004-11-08 21:31 UTC (permalink / raw)
  To: gcc-patches

I'll consider this test suite change as an obvious fix and check it in
unless someone complains.  I tested it on hppa (32 and 64 hpux versions)
and on IA64 (hpux and linux).

Steve Ellcey
sje@cup.hp.com


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 12:55:34 2004
***************
*** 10,19 ****
  # define ASM __asm__("r1")
  #elif defined __s390__
  # define ASM __asm__("r15")
! #elif defined __mips
! # define ASM __asm__("$sp")
! #elif defined __sparc__
! # define ASM __asm__("sp")
  #else
  # define ASM
  #endif
--- 10,19 ----
  # define ASM __asm__("r1")
  #elif defined __s390__
  # define ASM __asm__("r15")
! #elif defined __ia64__
! # define ASM __asm__("r12")
! #elif defined __hppa__
! # define ASM __asm__("%r30")
  #else
  # define ASM
  #endif

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Patch: Fix gcc.dg/uninit-H.c on PA and IA64
  2004-11-08 21:31 Patch: Fix gcc.dg/uninit-H.c on PA and IA64 Steve Ellcey
@ 2004-11-08 21:45 ` Richard Sandiford
  2004-11-08 22:06   ` Steve Ellcey
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Sandiford @ 2004-11-08 21:45 UTC (permalink / raw)
  To: sje; +Cc: gcc-patches

Steve Ellcey <sje@cup.hp.com> writes:
> *** 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 12:55:34 2004
> ***************
> *** 10,19 ****
>   # define ASM __asm__("r1")
>   #elif defined __s390__
>   # define ASM __asm__("r15")
> ! #elif defined __mips
> ! # define ASM __asm__("$sp")
> ! #elif defined __sparc__
> ! # define ASM __asm__("sp")
>   #else
>   # define ASM
>   #endif
> --- 10,19 ----
>   # define ASM __asm__("r1")
>   #elif defined __s390__
>   # define ASM __asm__("r15")
> ! #elif defined __ia64__
> ! # define ASM __asm__("r12")
> ! #elif defined __hppa__
> ! # define ASM __asm__("%r30")
>   #else
>   # define ASM
>   #endif

Hey, don't remove the __mips definition!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Patch: Fix gcc.dg/uninit-H.c on PA and IA64
  2004-11-08 21:45 ` Richard Sandiford
@ 2004-11-08 22:06   ` Steve Ellcey
  0 siblings, 0 replies; 3+ messages in thread
From: Steve Ellcey @ 2004-11-08 22:06 UTC (permalink / raw)
  To: rsandifo; +Cc: gcc-patches

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-08 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-08 21:31 Patch: Fix gcc.dg/uninit-H.c on PA and IA64 Steve Ellcey
2004-11-08 21:45 ` Richard Sandiford
2004-11-08 22:06   ` Steve Ellcey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).