1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-dse1-details" } */
4 struct X
{ struct A
{ int a
[2]; } b
[10]; };
5 void foo (struct X
*x
, int i
)
8 /* Confuse SRA here with using a variable index, otherwise it will mess
9 with the IL too much. */
12 /* The following store is dead. */
17 /* { dg-final { scan-tree-dump "Deleted dead store" "dse1" } } */