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

Kim Kuparinen <kim.kuparinen at tuni dot fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*

--- Comment #2 from Kim Kuparinen <kim.kuparinen at tuni dot fi> ---
(In reply to Drea Pinski from comment #1)
> I think there is a dup of this one.
Ah, looks like you're right. I did see bug 113269 with similar symptoms, but
the comments pointed towards that issue having been resolved at some point, so
I thought it was unrelated. I now tried out the example code provided and found
that https://gcc.gnu.org/g:8911879415d6c2a7baad88235554a912887a1c5c triggers it
as well. releases/gcc-15.2.0 at least produces the unwanted xchg instructions,
not sure at what point this was supposed have been fixed.

Reply via email to