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