[compiler-rt] r195648 - [UBSan] Fix warning by specifying __extension__ before __int128

Alexey Samsonov samsonov at google.com
Mon Nov 25 07:12:40 PST 2013

Author: samsonov
Date: Mon Nov 25 09:12:40 2013
New Revision: 195648

URL: http://llvm.org/viewvc/llvm-project?rev=195648&view=rev
[UBSan] Fix warning by specifying __extension__ before __int128


Modified: compiler-rt/trunk/lib/ubsan/ubsan_value.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ubsan/ubsan_value.h?rev=195648&r1=195647&r2=195648&view=diff
--- compiler-rt/trunk/lib/ubsan/ubsan_value.h (original)
+++ compiler-rt/trunk/lib/ubsan/ubsan_value.h Mon Nov 25 09:12:40 2013
@@ -25,8 +25,8 @@
 // FIXME: Move this out to a config header.
 #if __SIZEOF_INT128__
-typedef __int128 s128;
-typedef unsigned __int128 u128;
+__extension__ typedef __int128 s128;
+__extension__ typedef unsigned __int128 u128;
 #define HAVE_INT128_T 1
 #define HAVE_INT128_T 0

More information about the llvm-commits mailing list