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.

        * 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);

Reply via email to