[Bug target/84626] powerpc toc register is reloaded unnecessarily

amodra at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 12 04:32:00 GMT 2019


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.


More information about the Gcc-bugs mailing list