Skip to content

Commit b53fe2c

Browse files
authored
[flang][test] Restrict Evaluate/fold-out_of_range.f90 to x86_64 (#102890)
`Flang :: Evaluate/fold-out_of_range.f90` currently `FAIL`s on Linux/sparc64. This seems to be the same issue that led to disabling the test on Solaris in 27549ee. In fact, the generic Solaris disablement was over-eager: the test `PASS`es just fine on Solaris/amd64. Since the use of `REAL*10` makes the test x86-specific, this patch actually implements that requirement. Tested on `sparc64-unknown-linux-gnu`, `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and `x86_64-pc-linux-gnu`.
1 parent 6aad491 commit b53fe2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

flang/test/Evaluate/fold-out_of_range.f90

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
! RUN: %python %S/test_folding.py %s %flang_fc1 -pedantic
2-
! UNSUPPORTED: target=powerpc{{.*}}, target=aarch{{.*}}, target=arm{{.*}}, system-windows, system-solaris
1+
! RUN: %python %S/test_folding.py %s %flang_fc1 -pedantic -triple x86_64-unknown-linux-gnu
2+
! UNSUPPORTED: system-windows
3+
! REQUIRES: target=x86_64{{.*}}
34
! Tests folding of OUT_OF_RANGE().
45
module m
56
integer(1), parameter :: i1v(*) = [ -huge(1_1) - 1_1, huge(1_1) ]

0 commit comments

Comments
 (0)