[Bug libgcc/105708] libgcc: aarch64: init_lse_atomics can race with user-defined constructors

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 25 14:54:53 GMT 2022


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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Wilco Dijkstra <wilco@gcc.gnu.org>:

https://gcc.gnu.org/g:75c4e4909ae2667f56487434f99c2915b4570794

commit r13-764-g75c4e4909ae2667f56487434f99c2915b4570794
Author: Wilco Dijkstra <wilco.dijkstra@arm.com>
Date:   Wed May 25 14:29:03 2022 +0100

    AArch64: Prioritise init_have_lse_atomics constructor [PR 105708]

    Increase the priority of the init_have_lse_atomics constructor so it runs
    before other constructors. This improves chances that rr works when LSE
    atomics are supported.

    libgcc/
            PR libgcc/105708
            * config/aarch64/lse-init.c: Increase constructor priority.


More information about the Gcc-bugs mailing list