[Bug target/62253] gcc incorrectly mixes direct atomic instructions with calls to atomic library

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 24 19:17:00 GMT 2014


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Iirc lib atomic on x86 uses the atomic instructions for 32bit and not the
pthread implemention. Also if you have xchng, you can do all functions using
that one without using the pthread implemention.



More information about the Gcc-bugs mailing list