No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / tree-ssa / alias-1.c
blob6e88eb1ce23613c0c488e679266f17eab1de3b18
1 /* { dg-options "-O2 -fargument-noalias-global -fdump-tree-optimized" } */
2 int f;
3 void link_error ();
5 void g(int *i)
7 *i = 0;
8 f = 1;
9 if (*i != 0)
10 link_error ();
14 /* We should have removed the link_error on the tree level as we told GCC
15 that *i cannot point to f via the option -fargument-noalias-global. */
16 /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */
17 /* { dg-final { cleanup-tree-dump "optimized" } } */