Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr96695-5.c
blob54d8f1a3a7ecfe0895f252af673c12e97ddb6f69
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ifcombine" } */
4 #include <limits.h>
6 _Bool and1(unsigned *x, unsigned *y)
8 /* x <= y && x == 0 --> x == 0 */
9 return x <= y && x == 0;
12 _Bool and2(unsigned *x, unsigned *y)
14 /* x >= y && x == -1 --> x == -1 */
15 return x >= y && x == (unsigned*)-1;
18 /* { dg-final { scan-tree-dump-not " <= " "ifcombine" } } */
19 /* { dg-final { scan-tree-dump-not " >= " "ifcombine" } } */