1 /* { dg-do compile } */
2 /* { dg-options "-O -fno-tree-sra -fdump-tree-fre1-details" } */
4 /* Should be optimized, propagating &a into (*p)[i]. */
12 void foo(double (*q
)[4])
21 double (*p
)[4] = tmp1
.data
;
23 /* We want a PHI for the VOP for accessing tmp1.data, so place
24 this store to tmp1 here. */
30 /* { dg-final { scan-tree-dump "Replaced tmp1.data with &a" "fre1" } } */