mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 04:43:54 -06:00
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>
This commit is contained in:
parent
965f486c21
commit
464e3671f9
1 changed files with 1 additions and 0 deletions
1
configure
vendored
1
configure
vendored
|
@ -3329,6 +3329,7 @@ __uint128_t b;
|
||||||
int main (void) {
|
int main (void) {
|
||||||
a = a + b;
|
a = a + b;
|
||||||
b = a * b;
|
b = a * b;
|
||||||
|
a = a * a;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue