https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52563
--- Comment #17 from Andre Vieira <andre.simoesdiasvieira at arm dot com> --- Ah yes my bad, its not sccp doing it... got a bit confused there... It is indeed sink that moves that sequence down. Sorry for the noise. Question remains on how to clean this up though. Ideally you would like to end up with a_p = <last_computed_base>; outside of the loop.