[clang] [flang] [llvm] [flang] Diagnose and optionally repair missing MODULE procedure prefixes (PR #220783)

Eugene Epshteyn via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 07:28:11 PDT 2026


================
@@ -0,0 +1,14 @@
+! RUN: %python %S/test_errors.py %s %flang_fc1 -Wno-portability
+! The default diagnostic may be suppressed without enabling the extension.
----------------
eugeneepshteyn wrote:

`Portability` is off by default, so `-Wno-portability` has no default diagnostic left to suppress, and this test now checks the same thing as `separate-mp07.f90`. Maybe repurpose it, for example to check that `-fimplicit-module-prefix -pedantic -Wno-implicit-module-prefix -Werror` repairs silently?


https://github.com/llvm/llvm-project/pull/220783


More information about the cfe-commits mailing list