Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ssa-dse-35.c
blob: 1f21670406f94497e7d35dea5351721a9ec709c6 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-dse1-details" } */
int
a
[
256
];
void
foo
(
void
)
{
a
[
0
]
=
1
;
for
(
int
i
=
5
;
i
<
17
;
++
i
)
a
[
i
]
=
i
;
a
[
0
]
=
2
;
}
/* { dg-final { scan-tree-dump-times "Deleted dead store" 1 "dse1" } } */