Skip to contentSkip to conversation

configure: remove dead int128 test

PATCH In review Paolo Bonzini 3 participants 3 messages Mar 23, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: remove dead int128 test

---
 configure | 18 ------------------
 1 file changed, 18 deletions(-)
configure +0 -18
index 6d9cb23ac5..7c08c18358 100755
@@ -2463,24 +2463,6 @@ else # "$safe_stack" = ""
 fi
 fi
 
-########################################
-# check if __[u]int128_t is usable.
-
-int128=no
-cat > $TMPC << EOF
-__int128_t a;
-__uint128_t b;
-int main (void) {
-  a = a + b;
-  b = a * b;
-  a = a * a;
-  return 0;
-}
-EOF
-if compile_prog "" "" ; then
-    int128=yes
-fi
-
 ########################################
 # check if ccache is interfering with
 # semantic analysis of macros
Signature · 1 line
2.35.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 24 lines · Paolo Bonzini
---
  configure | 18 ------------------
  1 file changed, 18 deletions(-)
configure +0 -11
index 6d9cb23ac5..7c08c18358 100755
@@ -2463,24 +2463,6 @@ else # "$safe_stack" = ""
  fi
  fi
 
-########################################
-# check if __[u]int128_t is usable.
-
-int128=no
-cat > $TMPC << EOF
-__int128_t a;
-__uint128_t b;
-int main (void) {
-  a = a + b;
-  b = a * b;
-  a = a * a;

configure else # "$safe_stack" = "" · line 2468

Quoted 10 lines
configure +0 -7
-  return 0;
-}
-EOF
-if compile_prog "" "" ; then
-    int128=yes
-fi
-
  ########################################
  # check if ccache is interfering with
  # semantic analysis of macros
Fixes 848126d11e ("meson: move int128 checks from configure")
Reviewed-by on v1 1/1
#2 lore raw
In reply to Paolo Bonzini
Quoted 2 lines · Paolo Bonzini
Quoted 36 lines
---
 configure | 18 ------------------
 1 file changed, 18 deletions(-)
configure +0 -19
index 6d9cb23ac5..7c08c18358 100755
@@ -2463,24 +2463,6 @@ else # "$safe_stack" = ""
 fi
 fi
 
-########################################
-# check if __[u]int128_t is usable.
-
-int128=no
-cat > $TMPC << EOF
-__int128_t a;
-__uint128_t b;
-int main (void) {
-  a = a + b;
-  b = a * b;
-  a = a * a;
-  return 0;
-}
-EOF
-if compile_prog "" "" ; then
-    int128=yes
-fi
-
 ########################################
 # check if ccache is interfering with
 # semantic analysis of macros
--

2.35.1