public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5595] testsuite: Don't use -mfloat128 with AIX.
@ 2023-11-19 18:10 David Edelsohn
  0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2023-11-19 18:10 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:06e7cc79fd3b1b8417b21b5fff589b885ecaa948

commit r14-5595-g06e7cc79fd3b1b8417b21b5fff589b885ecaa948
Author: David Edelsohn <dje.gcc@gmail.com>
Date:   Sun Nov 19 13:00:54 2023 -0500

    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>

Diff:
---
 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 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-19 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-19 18:10 [gcc r14-5595] testsuite: Don't use -mfloat128 with AIX David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).