1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-lim2-details" } */
4 struct { int x
; int y
; } global
;
9 global
.y
+= global
.x
*global
.x
;
12 /* { dg-final { scan-tree-dump "Executing store motion of global.y" "lim2" } } */
13 /* { dg-final { scan-tree-dump "Moving statement.*global.x.*out of loop 1" "lim2" } } */