https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62109
Bug ID: 62109
Summary: __gthr_i486_lock_cmp_xchg missing clobber
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gccbugzilla at limegreensocks dot com
Created attachment 33302
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33302&action=edit
Update __gthr_i486_lock_cmp_xchg to add memory clobber
InterlockedCompareExchange is an implicit memory barrier. Such being the case,
the asm needs to use the "memory" clobber.