From c1bf4c3c5d8bac68e738d93c7dc28d9326410728 Mon Sep 17 00:00:00 2001 From: Peixin Qiao Date: Sat, 22 Oct 2022 18:57:05 +0800 Subject: [PATCH] [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. --- flang/test/Semantics/kinds04_q10.f90 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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