PR target/84700
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr84700.c
blobc89094a56d3904d27d3f506540929ebe1ac57aeb
1 /* PR target/84700 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -misel" } */
5 long long int
6 foo (long long int x)
8 long long int a = x < 2;
9 int b = a >= 0;
11 return a + ((x == 0) ? a : b);