[gcc r12-6502] testsuite: Fix pr47614.f test
Jakub Jelinek
jakub@gcc.gnu.org
Tue Jan 11 22:51:35 GMT 2022
https://gcc.gnu.org/g:e73549f41831a7ff5d8e5f26e6068b09f5dcab3b
commit r12-6502-ge73549f41831a7ff5d8e5f26e6068b09f5dcab3b
Author: Jakub Jelinek <jakub@redhat.com>
Date: Tue Jan 4 22:36:57 2022 +0100
testsuite: Fix pr47614.f test
This test FAILs because
f951: Error: '-mabi=ieeelongdouble' requires full ISA 2.06 support
compiler exited with status 1
FAIL: gfortran.dg/pr47614.f -O0 (test for excess errors)
As powerpc64le* only supports -mcpu=power8 and newer, I think we shouldn't
be testing with that option.
2022-01-04 Jakub Jelinek <jakub@redhat.com>
* gfortran.dg/pr47614.f: Don't use -mcpu=power4 for
powerpc64le*-*-linux*.
Diff:
---
gcc/testsuite/gfortran.dg/pr47614.f | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gfortran.dg/pr47614.f b/gcc/testsuite/gfortran.dg/pr47614.f
index 500d210a2a4..6be2c96074e 100644
--- a/gcc/testsuite/gfortran.dg/pr47614.f
+++ b/gcc/testsuite/gfortran.dg/pr47614.f
@@ -1,6 +1,7 @@
! { dg-do run { target { powerpc*-*-* } } }
! { dg-skip-if "" { powerpc*-*-darwin* } }
! { dg-options "-O3 -funroll-loops -ffast-math -mcpu=power4" }
+! { dg-options "-O3 -funroll-loops -ffast-math" { target powerpc64le*-*-linux* } }
SUBROUTINE SFCPAR(ZET,NZ,ZMH,TSL,TMES)
More information about the Gcc-cvs
mailing list