1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mtune=generic" } */
3 
h(int x,int y)4 int h(int x, int y)
5 {
6   if ((x >= 0 && x <= 1) && (y >= 0 && y <= 1))
7     return x && y;
8   else
9     return -1;
10 }
11 
g(int x,int y)12 int g(int x, int y)
13 {
14   if ((x >= 0 && x <= 1) && (y >= 0 && y <= 1))
15     return x || y;
16   else
17     return -1;
18 }
19 
f(int x,int y)20 int f(int x, int y)
21 {
22   if (x != 0 && x != 1)
23     return -2;
24 
25   else
26     return !x;
27 }
28 
29 /* { dg-final { scan-assembler-not "setne" } } */
30 /* { dg-final { scan-assembler-not "sete" } } */
31