Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr110080.c
blobc10afe07b1e7e6e9892c8e315b76780a1d4b6fa6
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 void foo(void);
5 static unsigned char a = 131;
6 static int *b;
7 static int **c = &b;
8 static void d(int e, unsigned f) {
9 int *g;
10 if (f != 131) {
11 __builtin_unreachable();
13 if (!e){
14 for (; a; ++a)
15 for (e = 0; 0;)
17 g = &e;
18 int **h = &g;
19 if (**h) {
20 foo();
23 *c = &e;
25 int main() { d(4 & a, a); }
27 /* { dg-final { scan-tree-dump-not "foo" "optimized" } } */