Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.dg / tree-ssa / pr19633.c
blob01c7eec312922d45f7534c4f137b737064f52e05
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"} } */
26 /* { dg-final { cleanup-tree-dump "ssa" } } */