This is the mail archive of the gcc-patches@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]

[Patch][revised] PR29071: Handle -m64 on powerpc for gcc.dg/20020919-1.c testcase


This revised patch substitutes __LP64__ in the ifndef for powerpc
targets since darwin doesn't define __powerpc64__ at -m64. Tested
on powerpc-apple-darwin9. Okay for gcc trunk?
              Jack

2007-12-23  Jack Howarth  <howarth@bromo.med.uc.edu>
	PR testsuite/29071
	* gcc.dg/20020919-1.c: Use __LP64__ instead of __powerpc64__
	for darwin.

Index: gcc.dg/20020919-1.c
===================================================================
--- gcc.dg/20020919-1.c	(revision 131138)
+++ gcc.dg/20020919-1.c	(working copy)
@@ -41,7 +41,7 @@
 	|| defined (__POWERPC__) || defined (PPC) || defined (_IBMR2)
 # define REG1 "6"
 # define REG2 "7"
-# ifndef __powerpc64__
+# ifndef __LP64__
 #  define REG3 "8"
 #  define REG4 "9"
 # endif


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