[flang-commits] [flang] c1bf4c3 - [flang] Fix one Unexpectedly Passed test on X86

Peixin Qiao via flang-commits flang-commits at lists.llvm.org
Sat Oct 22 04:00:13 PDT 2022


Author: Peixin Qiao
Date: 2022-10-22T18:57:05+08:00
New Revision: c1bf4c3c5d8bac68e738d93c7dc28d9326410728

URL: https://github.com/llvm/llvm-project/commit/c1bf4c3c5d8bac68e738d93c7dc28d9326410728
DIFF: https://github.com/llvm/llvm-project/commit/c1bf4c3c5d8bac68e738d93c7dc28d9326410728.diff

LOG: [flang] Fix one Unexpectedly Passed test on X86

The test case, kinds04_q10.f90, should run only for X86. Now it is
unexpected passed since 8686ff1d0d47ba8c980f5ea6bb53f77786478e23.
Add "-triple x86_64-unknown-linux-gnu" so that the test is for
testing the target X86 linux.

Added: 
    

Modified: 
    flang/test/Semantics/kinds04_q10.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Semantics/kinds04_q10.f90 b/flang/test/Semantics/kinds04_q10.f90
index cb0e9d91e7e13..7c9323ba5114c 100644
--- a/flang/test/Semantics/kinds04_q10.f90
+++ b/flang/test/Semantics/kinds04_q10.f90
@@ -1,4 +1,4 @@
-! RUN: %python %S/test_errors.py %s %flang_fc1
+! RUN: %python %S/test_errors.py %s %flang_fc1 -triple x86_64-unknown-linux-gnu
 ! C716 If both kind-param and exponent-letter appear, exponent-letter
 ! shall be E. (As an extension we also allow an exponent-letter which matches
 ! the kind-param)
@@ -9,9 +9,7 @@
 ! 10-byte extended precision
 ! REQUIRES: x86-registered-target
 ! UNSUPPORTED: system-windows
-! klausler: Currently failing due to unexpected or missing warnings in some
-! configurations like aarch64, so disabling test.
-! XFAIL: *
+
 subroutine s(var)
   real :: realvar1 = 4.0E6_4
   real :: realvar2 = 4.0D6


        


More information about the flang-commits mailing list