Skip to content

Commit

Permalink
[flang] Fix one Unexpectedly Passed test on X86
Browse files Browse the repository at this point in the history
The test case, kinds04_q10.f90, should run only for X86. Now it is
unexpected passed since 8686ff1.
Add "-triple x86_64-unknown-linux-gnu" so that the test is for
testing the target X86 linux.
  • Loading branch information
PeixinQiao committed Oct 22, 2022
1 parent b483349 commit c1bf4c3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions 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)
Expand All @@ -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
Expand Down

0 comments on commit c1bf4c3

Please sign in to comment.