PR tree-optimization/113673: Avoid load merging when potentially trapping.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 931228-1.c
blob01e52235d4a5a455913d957b97331c53aca63412
1 /* { dg-additional-options "-std=gnu89" } */
2 f (x)
4 x &= 010000;
5 x &= 007777;
6 x ^= 017777;
7 x &= 017770;
8 return x;
11 main ()
13 if (f (-1) != 017770)
14 abort ();
15 exit (0);