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

--- Comment #7 from Ian Lance Taylor <ian at airs dot com> ---
Interesting, thanks.  The Go frontend will never emit a call to
__atomic_fetch_add_4.  I didn't realize that the middle end could convert
__atomic_add_fetch_4 into that.  Your patch looks right.  I'll commit after
testing.

Reply via email to