Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr19633.c
blob88cbfe222d79113bfcda6ab80536ee17cdb3a545
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-ssa-vops" } */
3 struct S
5 int w, x, y, z;
6 };
7 struct T
9 int r;
10 struct S s;
12 void bar (struct S, int);
13 void
14 foo (int a, struct T b)
16 struct S x;
17 struct S *c = &x;
18 if (a)
19 c = &b.s;
20 bar (*c, a);
23 /* Make sure that .GLOBAL_VAR is not created when there are no
24 clobbering calls. */
25 /* { dg-final { scan-tree-dump-times "GLOBAL_VAR" 0 "ssa"} } */