This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/29071] gcc.dg/20020919-1.c compilation test fails on powerpc-apple-darwin8 at -m64



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]