https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84626
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |amodra at gmail dot com Resolution|--- |INVALID --- Comment #1 from Alan Modra <amodra at gmail dot com> --- No, the r2 load can't be moved. The ppc64 ABIs say the restore of r2 must occur immediately after the call. This is necessary for exception unwinding.