PR target/83368
[official-gcc.git] / gcc / testsuite / gcc.dg / pr67786.c
blob76525e51d4d053ff6b8c4bd829d717f84074825d
1 /* { dg-do run } */
2 /* { dg-options "-O3" } */
4 int a, b = 10;
5 char c;
7 int
8 main ()
10 char d;
11 int e = 5;
12 for (a = 0; a; a--)
13 e = 0;
14 c = (b & 15) ^ e;
15 d = c > e ? c : c << e;
16 __builtin_printf ("%d\n", d);
17 return 0;
20 /* { dg-output "15" } */