From: Steve Ellcey <sje@cup.hp.com>
To: gcc-patches@gcc.gnu.org
Subject: Patch: Fix gcc.dg/uninit-H.c on PA and IA64
Date: Mon, 08 Nov 2004 21:31:00 -0000 [thread overview]
Message-ID: <200411082102.NAA16893@hpsje.cup.hp.com> (raw)
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
next reply other threads:[~2004-11-08 21:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-08 21:31 Steve Ellcey [this message]
2004-11-08 21:45 ` Richard Sandiford
2004-11-08 22:06 ` Steve Ellcey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200411082102.NAA16893@hpsje.cup.hp.com \
--to=sje@cup.hp.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).