Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr110875.c
blob4d6ecbca0c817d496a16053f0f5619879512f5bd
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp2" } */
4 void foo(void);
5 static int a, b;
6 static int *c = &a, *d;
7 static unsigned e;
8 static short f;
9 static unsigned g(unsigned char h, char i) { return h + i; }
10 int main() {
11 d = &a;
12 int *j = d;
13 e = -27;
14 for (; e > 18; e = g(e, 6)) {
15 a = 0;
16 for (; a != -3; a--) {
17 if (0 != a ^ *j)
18 for (; b; b++) f = -f;
19 else if (*c) {
20 foo();
21 break;
23 if (!(((e) >= 235) && ((e) <= 4294967269))) {
24 __builtin_unreachable();
26 b = 0;
32 /* { dg-final { scan-tree-dump-not "foo" "vrp2" } } */