[flang-commits] [clang] [flang] [llvm] [openmp] [Flang][OpenMP] Move builtin .mod generation into runtimes (PR #137828)
Michael Kruse via flang-commits
flang-commits at lists.llvm.org
Mon Jul 21 12:48:15 PDT 2025
================
@@ -6,8 +6,8 @@
!-----------------------------------------
! FRONTEND FLANG DRIVER (flang -fc1)
!-----------------------------------------
-! RUN: %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s --allow-empty --check-prefix=WITHOUT
-! RUN: not %flang_fc1 -fsyntax-only -fintrinsic-modules-path %S/Inputs/ %s 2>&1 | FileCheck %s --check-prefix=GIVEN
+! RUN: %flang_bare -fsyntax-only %s %intrinsic_module_flags 2>&1 | FileCheck %s --check-prefix=WITHOUT --allow-empty
----------------
Meinersbur wrote:
With this PR, the default intrinsic path is now determined by the driver, not by the frontend. To emulate driver behavior, the test needs to add the default intrinsics path manually.
Alternatively, this test could invoke the driver instead. It's in the `test/Driver` directory after all.
https://github.com/llvm/llvm-project/pull/137828
More information about the flang-commits
mailing list