2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr81588.c
blob4e83607f2a81f394e7ad0f0c8e65b52d4bfe3a58
1 /* PR tree-optimization/81588 */
2 /* { dg-do run } */
3 /* { dg-options "-O2" } */
5 long long int a = 5011877430933453486LL, c = 1;
6 unsigned short b = 24847;
8 #include "tree-ssa/pr81588.c"
10 int
11 main ()
13 foo ();
14 if (c != 0)
15 __builtin_abort ();
16 a = 24846;
17 c = 1;
18 foo ();
19 if (c != 1)
20 __builtin_abort ();
21 a = -5;
22 foo ();
23 if (c != 0)
24 __builtin_abort ();
25 return 0;