(ilockcmpexch): Likewise.
2009-07-07 Dave Korn <dave.korn.cygwin@gmail.com>
+ * winbase.h (ilockexch): Avoid making 'ret' volatile.
+ (ilockcmpexch): Likewise.
+
+2009-07-07 Dave Korn <dave.korn.cygwin@gmail.com>
+
* Makefile.in (DLL_OFILES): Add libstdcxx_wrapper.o
(libstdcxx_wrapper_CFLAGS): Add flags for new module.
(_cygwin_crt0_common_STDINCFLAGS): Define per-file override.
{
return
({
- register __typeof (*t) ret __asm ("%eax");
+ register long ret __asm ("%eax");
__asm __volatile ("\n"
"1: lock cmpxchgl %2, %1\n"
" jne 1b\n"
{
return
({
- register __typeof (*t) ret __asm ("%eax");
+ register long ret __asm ("%eax");
__asm __volatile ("lock cmpxchgl %2, %1"
: "=a" (ret), "=m" (*t)
: "r" (v), "m" (*t), "0" (c)