public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1552] testsuite: Fix incorrect -mfloat128-type option
@ 2022-07-07  9:30 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-07-07  9:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c1b1c4e58bda152ae932b45396ab67b07dd8c3fe

commit r13-1552-gc1b1c4e58bda152ae932b45396ab67b07dd8c3fe
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Jul 6 19:11:05 2022 +0100

    testsuite: Fix incorrect -mfloat128-type option
    
    This test currently fails with an error about -mfloat128-type being an
    invalid option, which is not what it's supposed to be testing:
    
    XFAIL: gcc.target/powerpc/ppc-fortran/pr80108-1.f90   -O  (test for excess errors)
    Excess errors:
    xgcc: error: unrecognized command-line option '-mfloat128-type'; did you mean '-mfloat128'?
    
    With this change we get the error that the comment says it expects:
    
    XFAIL: gcc.target/powerpc/ppc-fortran/pr80108-1.f90   -O  (test for excess errors)
    Excess errors:
    f951: Error: power9 target option is incompatible with '-mcpu=<xxx>' for <xxx> less than power9
    f951: Error: '-mfloat128' requires VSX support
    f951: Error: '-m64' requires a PowerPC64 cpu
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/powerpc/ppc-fortran/pr80108-1.f90: Change
            -mfloat128-type to -mfloat128.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90 b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90
index 844166d55e3..dac5c361689 100644
--- a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90
+++ b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90
@@ -1,7 +1,7 @@
 ! Originally contributed by Tobias Burnas.
 ! { dg-do compile { target { powerpc*-*-* } } }
 ! { dg-require-effective-target powerpc_p9vector_ok }
-! { dg-options "-mdejagnu-cpu=405 -mpower9-minmax -mfloat128-type" }
+! { dg-options "-mdejagnu-cpu=405 -mpower9-minmax -mfloat128" }
 ! { dg-excess-errors "expect error due to conflicting target options" }
 ! Since the error message is not associated with a particular line
 ! number, we cannot use the dg-error directive and cannot specify a


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

only message in thread, other threads:[~2022-07-07  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07  9:30 [gcc r13-1552] testsuite: Fix incorrect -mfloat128-type option Jonathan Wakely

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).