This test case is obviously written for 32-bit platforms, thus added
"dg-require-effective-target ilp32" to ensure that the pointer mess won't lead
to FAILs because of
warning: cast to pointer from integer of different size
and
warning: cast from pointer to integer of different size
Ok to apply?
* gcc.dg/lto/20091013-1_0.c: Add dg-require-effective-target ilp32.
Index: gcc.dg/lto/20091013-1_0.c
===================================================================
--- gcc.dg/lto/20091013-1_0.c (revision 183150)
+++ gcc.dg/lto/20091013-1_0.c (working copy)
@@ -1,5 +1,6 @@
/* { dg-lto-do link } */
/* { dg-require-effective-target fpic } */
+/* { dg-require-effective-target ilp32 } */
/* { dg-lto-options {{-fPIC -r -nostdlib -flto} {-fPIC -r -nostdlib -O2
-flto}} } */
void * HeapAlloc(void*,unsigned int,unsigned long);