This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Test gcc.c-torture/execute/align-3.c
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: geoffk at apple dot com
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org, dje at watson dot ibm dot com
- Date: Thu, 12 Jul 2007 08:30:04 -0700 (PDT)
- Subject: 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;