From 06e7cc79fd3b1b8417b21b5fff589b885ecaa948 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sun, 19 Nov 2023 13:00:54 -0500 Subject: [PATCH] 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 --- gcc/testsuite/lib/target-supports.exp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 8777e3b05e0..e0d271217f6 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 { -- 2.11.4.GIT