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

wilco at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 24 10:00:31 GMT 2022


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

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilco at gcc dot gnu.org

--- Comment #10 from Wilco <wilco at gcc dot gnu.org> ---
Increasing the priority of the constructor is perfectly reasonable given that
it has no effect on correctness and doing it as early as possible is better for
performance if other constructors use atomics.


More information about the Gcc-bugs mailing list