Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr110918.c
blobe2dff27e07822a34e79831460f35557aedf367fd
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-optimized" } */
4 static char b = 53;
5 static unsigned c;
6 void foo(void);
7 static int(a)(int d, int e) { return (d ^ e) < 0 ? d : d - e; }
8 int main() {
10 int f = 2;
11 c = b;
12 b = 0;
13 for (; c <= 6;) {
14 if (f >= 2)
15 f = 0;
16 for (; f >= -9; f = a(f, 8))
17 if (!(f >= -8 && f <= 0))
18 foo();
24 /* { dg-final { scan-tree-dump-not "foo" "optimized" } } */