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]

Re: Test gcc.c-torture/execute/align-3.c


> Feel free to either (a) #ifdef out the first part of the test on IA64,  
> or (b) delete the first part of the test altogether.

Since it fails on other platforms (b) seems like the better alternative.
OK to checkin this patch?

Steve Ellcey
sje@cup.hp.com


2007-07-12  Steve Ellcey  <sje@cup.hp.com>

	* gcc.c-torture/execute/align-3.c: Remove function addr check.


Index: gcc.c-torture/execute/align-3.c
===================================================================
--- gcc.c-torture/execute/align-3.c	(revision 126565)
+++ gcc.c-torture/execute/align-3.c	(working copy)
@@ -6,8 +6,6 @@ void func(void) 
 
 int main()
 {
-  if (((long)func & 0xFF) != 0)
-    abort ();
   if (__alignof__(func) != 256)
     abort ();
   return 0;


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