]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Don't use -mfloat128 with AIX.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 19 Nov 2023 18:00:54 +0000 (13:00 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sun, 19 Nov 2023 18:10:33 +0000 (13:10 -0500)
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>
gcc/testsuite/lib/target-supports.exp

index 8777e3b05e0ee13ceed624fdca0b4ca7a7f69afa..e0d271217f669cab9477fb78ca1a1735d661b7a7 100644 (file)
@@ -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 {