[Bug target/62109] __gthr_i486_lock_cmp_xchg missing clobber

gccbugzilla at limegreensocks dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 19 23:40:00 GMT 2015


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

--- Comment #8 from David <gccbugzilla at limegreensocks dot com> ---
(In reply to Kai Tietz from comment #7)
The first code block in comment #6 is what is in the code now.  As you can see,
it already has the #define you are describing.  I don't understand what you
mean by "change it to" this, since it is already there.

Are you suggesting we delete the entire #ifdef
__GTHREAD_I486_INLINE_LOCK_PRIMITIVES block and replace it with the single
#define?  I would be ok with that.  Using the #error (the second code block in
comment #6) seemed like a more backward-compatible way to do this, since it
would tell people what has happened and what to do to fix it rather than
(silently) assuming we know what they want to do.

But I am ok with either of these two solutions.



More information about the Gcc-bugs mailing list