PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr79043.c
blobb7fcc8260dc30488c169f9b3c02c0b7fc01ceb3c
1 /* PR ipa/78791 */
3 int val;
5 int *ptr = &val;
6 float *ptr2 = &val;
8 static
9 __attribute__((always_inline, optimize ("-fno-strict-aliasing")))
10 typepun ()
12 *ptr2=0;
15 main()
17 *ptr=1;
18 typepun ();
19 if (*ptr)
20 __builtin_abort ();