[flang-commits] [flang] 547624a - [flang][driver] Revert RUN-line change

Andrzej Warzynski via flang-commits flang-commits at lists.llvm.org
Wed Mar 10 08:58:33 PST 2021


Author: Andrzej Warzynski
Date: 2021-03-10T16:58:24Z
New Revision: 547624af1963f082f0c4676b0c019528372f6f13

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

LOG: [flang][driver] Revert RUN-line change

In https://reviews.llvm.org/D98283, the RUN line in pre-fir-tree04.f90
was updated to use `%flang_fc1` instead of `%f18` (so that the test is
shared between the old and the new driver). Unfortunately, the new
driver does not know yet how to find standard intrinsics modules. As a
result, the test fails when `FLANG_BUILD_NEW_DRIVER` is set to On.

I'm restoring the original RUN line. This is rather straightforward, so
sending without a review. This should make Flang builders happy.

Added: 
    

Modified: 
    flang/test/Lower/pre-fir-tree04.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/pre-fir-tree04.f90 b/flang/test/Lower/pre-fir-tree04.f90
index 55b0cb12a227..06fc88f76f54 100644
--- a/flang/test/Lower/pre-fir-tree04.f90
+++ b/flang/test/Lower/pre-fir-tree04.f90
@@ -1,4 +1,4 @@
-! RUN: %flang_fc1 -fsyntax-only -fdebug-pre-fir-tree %s | FileCheck %s
+! RUN: %f18 -fsyntax-only -fdebug-pre-fir-tree %s | FileCheck %s
 
 ! Test Pre-FIR Tree captures all the coarray related statements
 


        


More information about the flang-commits mailing list