testsuite: Fix incorrect -mfloat128-type option
authorJonathan Wakely <jwakely@redhat.com>
Wed, 6 Jul 2022 18:11:05 +0000 (19:11 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 7 Jul 2022 09:29:37 +0000 (10:29 +0100)
commitc1b1c4e58bda152ae932b45396ab67b07dd8c3fe
treea3d56706dbb1a545b3e155e75b944d1a403ea3d6
parent1e1fdb729d99647bb90d8a18afa1a5fc3c2d3a22
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.
gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90