Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / uninit-suppress.c
blob53e6bcf118ae6ef45e7bd203e94b11c5140cbf51
1 /* { dg-do compile } */
2 /* { dg-options "-fno-tree-ccp -fno-tree-vrp -O2 -Wuninitialized -Wno-maybe-uninitialized" } */
3 void blah();
4 void bar (int);
5 int gflag;
7 void foo()
9 int v;
10 if (gflag)
11 v = 10;
13 blah(); /* *gflag may be killed, but compiler won't know */
15 if (gflag)
16 bar(v); /* { dg-bogus "uninitialized" "should be suppressed" } */