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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <i...@gcc.gnu.org>:

https://gcc.gnu.org/g:219f82070903625d6bd8865b5ecb5f944bcee871

commit r13-3868-g219f82070903625d6bd8865b5ecb5f944bcee871
Author: Ian Lance Taylor <i...@golang.org>
Date:   Wed Nov 9 16:05:08 2022 -0800

    go: don't crash if __atomic_fetch_add functions are used

    The Go frontend only generates __atomic_add_fetch, but in some cases
    thost calls become __atomic_fetch_add.

    Patch originally by Marc Poulhiès.

            PR target/107581
            * go-gcc.cc (Gcc_backend::Gcc_backend): Define
            __atomic_fetch_add_{4,8}.

Reply via email to