[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] configure: Add signed*signed check to [u]int128_t t
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH] configure: Add signed*signed check to [u]int128_t test |
Date: |
Fri, 21 Jun 2013 14:01:31 +0100 |
clang 3.8 with -fsanitize=undefined will fail to link code containing an
int128_t * int128_t multiply (http://llvm.org/bugs/show_bug.cgi?id=16404)
so add this to our configure test for whether [u]int128_t are usable.
Signed-off-by: Peter Maydell <address@hidden>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index ad32f87..6465e05 100755
--- a/configure
+++ b/configure
@@ -3329,6 +3329,7 @@ __uint128_t b;
int main (void) {
a = a + b;
b = a * b;
+ a = a * a;
return 0;
}
EOF
--
1.7.9.5
- [Qemu-devel] [PATCH] configure: Add signed*signed check to [u]int128_t test,
Peter Maydell <=