1 /* PR rtl-optimization/46614 */
3 /* { dg-options "-O -fno-rename-registers -fsched2-use-superblocks -fschedule-insns2 -funroll-loops" } */
4 /* { dg-require-effective-target scheduling } */
6 extern void abort (void);
18 void bar (struct S
*x
)
24 for (i
= 0; i
< 16; i
++)
32 for (i
= 0; i
< 16; i
++)
34 if (r
[i
].c
!= x
[i
].b
+ x
[i
].c
35 || r
[i
].a
!= x
[i
].c
+ x
[i
].f
+ x
[i
].b
36 || r
[i
].f
!= x
[i
].f
+ x
[i
].e
37 || r
[i
].g
!= x
[i
].b
+ x
[i
].c
)
40 for (i
= 0; i
< 16; i
++)
53 for (i
= 0; i
< 16; i
++)
54 x
[i
].b
= x
[i
].c
= x
[i
].e
= x
[i
].f
= 5;