https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123063
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|End of array of stack |[14/15/16 Regression] End
|variable recalculated in |of array of stack variable
|every iteration of for loop |recalculated in every
| |iteration of for loop
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> And then sfp is translated to `sp+N` which then gets reloaded and never
> pulled out of the loop again.
The reloaded/pulled out of the loop again is the same as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52285#c5 . So the overall issue
has been around for a while now.