https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116415

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #5 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #1)
> I suspect that this related to our Power8 swap optimization pass.

I'm testing a fix.

Our P8 swap optimization has some special handling for TImode usage.  The
__atomic_compare_exchange call introduces a PTImode use and that should have
the same special handling that TImode has, but doesn't.  The simple fix fixes
the attached test case for me and PASSes all of the swap-p8-*.c testsuite test
cases.  My full bootstrap and regtesting is running.

Reply via email to