Skip to content

Commit 7d2c1e1

Browse files
committed
[flang][test] Restrict Semantics/kinds04_q10.f90 to x86_64
`Flang :: Semantics/kinds04_q10.f90` `FAIL`s on SPARC, both Solaris/sparcv9 and Linux/sparc64: ``` actual at 16: invalid argument on REAL(10) to REAL(4) conversion actual at 20: invalid argument on REAL(10) to REAL(4) conversion actual at 24: invalid argument on REAL(10) to REAL(4) conversion actual at 31: invalid argument on REAL(10) to REAL(8) conversion actual at 37: invalid argument on REAL(10) to REAL(8) conversion ``` This seems to be the same issue recently seen in PR llvm#102890: even though the target in question supports `REAL(10)`, the host does not. Therefore this patch restricts the test to `x86_64`. Tested on `sparcv9-sun-solaris2.11`, `sparc64-unknown-linux-gnu`, `amd64-pc-solaris2.11`, and `x86_64-pc-linux-gnu`.
1 parent 0d074ba commit 7d2c1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Semantics/kinds04_q10.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
! This test is for x86_64, where exponent-letter 'q' is for
99
! 10-byte extended precision
1010
! UNSUPPORTED: system-windows, system-aix
11-
! REQUIRES: x86-registered-target
11+
! REQUIRES: target=x86_64{{.*}}
1212

1313
subroutine s(var)
1414
real :: realvar1 = 4.0E6_4

0 commit comments

Comments
 (0)