This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Update gcc.dg/pr16194.c test for PA
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 18 Mar 2007 15:19:35 -0400 (EDT)
- Subject: [committed] Update gcc.dg/pr16194.c test for PA
The enclosed change updates pr16194.c for the PA. Tested on
hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to
trunk.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2007-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR testsuite/30395
* gcc.dg/pr16194.c: Provide define for REG on __hppa__.
Index: gcc.dg/pr16194.c
===================================================================
--- gcc.dg/pr16194.c (revision 123037)
+++ gcc.dg/pr16194.c (working copy)
@@ -10,6 +10,8 @@
# define REG "$1"
#elif defined (__CRIS__) || defined (__sh__)
# define REG "r10"
+#elif defined (__hppa__)
+# define REG "%r10"
#elif defined (__i386__)
# define REG "%eax"
#elif defined (__MMIX__)