Message ID | 4F101D00.6040005@gjlay.de |
---|---|
State | New |
Headers | show |
On Jan 13, 2012, at 4:01 AM, Georg-Johann Lay wrote: > This patch adds -Wno-pointer-to-int-cast to the options in order to avoid FAIL > because of "warning: cast from pointer to integer of different size" when > sizeof(void*) = 2. Ok. > * gcc.dg/pr50527.c: Don't FAIL if sizeof(void*) = 2
Index: gcc.dg/pr50527.c =================================================================== --- gcc.dg/pr50527.c (revision 183150) +++ gcc.dg/pr50527.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-Os --param large-stack-frame=30" } */ +/* { dg-options "-Os --param large-stack-frame=30 -Wno-pointer-to-int-cast" } */ extern void abort (void);