* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr41551.c
blob2f2ad2be97e19f0089080b760c04e9f19e1edb47
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* Make sure we do not ICE. */
6 __extension__ typedef __UINTPTR_TYPE__ uintptr_t;
8 int main(void)
10 int var, *p = &var;
11 return (double)(uintptr_t)(p);