[llvm-commits] [compiler-rt] r170131 - /compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.h
Dmitry Vyukov
dvyukov at google.com
Thu Dec 13 07:26:04 PST 2012
Author: dvyukov
Date: Thu Dec 13 09:26:04 2012
New Revision: 170131
URL: http://llvm.org/viewvc/llvm-project?rev=170131&view=rev
Log:
tsan: fix compilation with -pedantic
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.h
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.h?rev=170131&r1=170130&r2=170131&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.h (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.h Thu Dec 13 09:26:04 2012
@@ -28,7 +28,7 @@
#if defined(__SIZEOF_INT128__) \
|| (__clang_major__ * 100 + __clang_minor__ >= 302)
-typedef __int128 __tsan_atomic128;
+__extension__ typedef __int128 __tsan_atomic128;
#define __TSAN_HAS_INT128 1
#else
typedef char __tsan_atomic128;
More information about the llvm-commits
mailing list