This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/29071] gcc.dg/20020919-1.c compilation test fails on powerpc-apple-darwin8 at -m64
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2007 15:46:08 -0000
- Subject: [Bug testsuite/29071] gcc.dg/20020919-1.c compilation test fails on powerpc-apple-darwin8 at -m64
- References: <bug-29071-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from howarth at nitro dot med dot uc dot edu 2007-12-21 15:46 -------
Wouldn't something like...
--- 20020919-1.c.org 2007-12-21 10:28:40.000000000 -0500
+++ 20020919-1.c 2007-12-21 10:44:27.000000000 -0500
@@ -41,7 +41,9 @@
|| defined (__POWERPC__) || defined (PPC) || defined (_IBMR2)
# define REG1 "6"
# define REG2 "7"
-# ifndef __powerpc64__
+# if !defined(__powerpc64__) && !((defined (__powerpc__) || defined (__PPC__)
\
+ || defined (__ppc__) || defined (__POWERPC__) || defined (PPC) \
+ || defined (_IBMR2)) && defined(__LP64__))
# define REG3 "8"
# define REG4 "9"
# endif
be more correct here?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29071