aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-06-21 14:01:31 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2013-06-21 22:54:24 +0400
commit464e3671f9d5c206fa9e2646c81f21ceef7cfb7d (patch)
tree3de54e979165b56344d2bba4cc757b4ef8272779 /configure
parent965f486c21a0a8fed33e65278516edfc01d1e2fd (diff)
downloadqemu-464e3671f9d5c206fa9e2646c81f21ceef7cfb7d.zip
qemu-464e3671f9d5c206fa9e2646c81f21ceef7cfb7d.tar.gz
qemu-464e3671f9d5c206fa9e2646c81f21ceef7cfb7d.tar.bz2
configure: Add signed*signed check to [u]int128_t test
clang 3.3 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 <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index bb126e8..0e0adde 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