https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123636
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=123061
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Executing store motion of arr[0] from loop 4
Moving statement arr_I_lsm.6 = _48(D);
(cost 0) out of loop 4.
We are thinking a[0] is always stored to and thus do not emit a load. This
looks like a duplicate of PR123061 I'd say:
BB 8 is always executed in loop 1
possibly in a slightly different setting. loop 5 is executed conditinal
in loop 4 but loop 1 only exits if loop 5 is ever entered.