From: Peter Maydell Date: Fri, 21 Jun 2013 13:01:31 +0000 (+0100) Subject: configure: Add signed*signed check to [u]int128_t test X-Git-Tag: v1.6.0-rc0~184^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=464e3671f9d5c;p=thirdparty%2Fqemu.git 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 Reviewed-by: Richard Henderson Signed-off-by: Michael Tokarev --- diff --git a/configure b/configure index bb126e83640..0e0adde4105 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