Remove outermost loop parameter.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / tree-ssa / struct-aliasing-1.c
blob78e92d769e4bde29c6b53082ac32cb06e653aab4
1 /* { dg-do "compile" } */
2 /* { dg-options "-O2 -fdump-tree-fre" } */
4 struct S { float f; };
5 int __attribute__((noinline))
6 foo (float *r, struct S *p)
8 int *q = (int *)&p->f;
9 int i = *q;
10 *r = 0.0;
11 return i + *q;
14 /* { dg-final { scan-tree-dump-times "\\\*q" 1 "fre" } } */
15 /* { dg-final { cleanup-tree-dump "fre" } } */