[flang-commits] [flang] [flang][test] Disable Evaluate/fold-out_of_range.f90 on SPARC (PR #102890)
via flang-commits
flang-commits at lists.llvm.org
Mon Aug 12 05:27:32 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-semantics
Author: Rainer Orth (rorth)
<details>
<summary>Changes</summary>
`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 27549ee989d7e0803d41c206cf636f0b689210f1. In fact, the generic Solaris disablement was over-eager: the test `PASS`es just fine on Solaris/amd64.
To fix this, this patch disables the test on sparc only, at the same time simplifying the `target=` clauses.
Tested on `sparc64-unknown-linux-gnu`, `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and `x86_64-pc-linux-gnu`.
---
Full diff: https://github.com/llvm/llvm-project/pull/102890.diff
1 Files Affected:
- (modified) flang/test/Evaluate/fold-out_of_range.f90 (+1-1)
``````````diff
diff --git a/flang/test/Evaluate/fold-out_of_range.f90 b/flang/test/Evaluate/fold-out_of_range.f90
index 81551255135d2f..6fb3d072bb2301 100644
--- a/flang/test/Evaluate/fold-out_of_range.f90
+++ b/flang/test/Evaluate/fold-out_of_range.f90
@@ -1,5 +1,5 @@
! RUN: %python %S/test_folding.py %s %flang_fc1 -pedantic
-! UNSUPPORTED: target=powerpc{{.*}}, target=aarch{{.*}}, target=arm{{.*}}, system-windows, system-solaris
+! UNSUPPORTED: target={{(arm|aarch64|powerpc|sparc).*}}, system-windows
! Tests folding of OUT_OF_RANGE().
module m
integer(1), parameter :: i1v(*) = [ -huge(1_1) - 1_1, huge(1_1) ]
``````````
</details>
https://github.com/llvm/llvm-project/pull/102890
More information about the flang-commits
mailing list