Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr102983.c
blobded748af08a315f3554e61b81c2abc10c51eaebf
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-evrp -fno-tree-ccp" } */
3 void foo(void);
5 static int a = 1;
7 int main() {
8 int c = 0;
9 for (int b = 0; b <= 0; b++) {
10 if (!a)
11 foo();
12 if (b > c){
13 if (c)
14 continue;
15 a = 0;
17 c = 1;
21 /* { dg-final { scan-tree-dump-times "Global Exported: c_.*1, 1" 1 "evrp" } } */