PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / alias-1.c
blob666e96f968ac677aa27fb8c63ee30a724025263d
1 int val;
3 int *ptr = &val;
4 float *ptr2 = &val;
6 __attribute__((optimize ("-fno-strict-aliasing")))
7 typepun ()
9 *ptr2=0;
12 main()
14 *ptr=1;
15 typepun ();
16 if (*ptr)
17 __builtin_abort ();