aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2023-11-19 13:00:54 -0500
committerDavid Edelsohn <dje.gcc@gmail.com>2023-11-19 13:10:33 -0500
commit06e7cc79fd3b1b8417b21b5fff589b885ecaa948 (patch)
treec807d9f2b1047b08b76d07d7d9336252e94b4b42
parent56ca59a03150cf44cea340f58967c990ed6bf43c (diff)
downloadgcc-06e7cc79fd3b1b8417b21b5fff589b885ecaa948.zip
gcc-06e7cc79fd3b1b8417b21b5fff589b885ecaa948.tar.gz
gcc-06e7cc79fd3b1b8417b21b5fff589b885ecaa948.tar.bz2
testsuite: Don't use -mfloat128 with AIX.
AIX doesn't support IEEE 128 floating point. Don't add the -mfloat128 on AIX. gcc/testsuite/ChangeLog: * lib/target-supports.exp (add_options_for___float128): Only add -mfloat128 to powerpc*-*-linux*. Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
-rw-r--r--gcc/testsuite/lib/target-supports.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 8777e3b..e0d2712 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -3805,7 +3805,7 @@ proc check_effective_target___float128 { } {
}
proc add_options_for___float128 { flags } {
- if { [istarget powerpc*-*-*] } {
+ if { [istarget powerpc*-*-linux*] } {
return "$flags -mfloat128 -mvsx"
}
return "$flags"
@@ -7178,7 +7178,7 @@ proc check_effective_target_powerpc_vsx_ok { } {
return 0
}
# Darwin doesn't have VSX, even if it's used with an assembler
- # which recognises the insns.
+ # which recognises the insns.
if { [istarget *-*-darwin*] } {
return 0
}
@@ -11090,7 +11090,7 @@ proc check_effective_target_gas { } {
if { [ string first "GNU" $as_output ] >= 0 } {
# Some Darwin versions have an assembler which is based on an old
# version of GAS (and reports GNU assembler in its -v output) but
- # but doesn't support many of the modern GAS features.
+ # but doesn't support many of the modern GAS features.
if { [ string first "cctools" $as_output ] >= 0 } {
set use_gas_saved 0
} else {