[flang-commits] [clang] [flang] [Flang] Optionally turn module checksum check into warning (PR #219181)

Michael Kruse via flang-commits flang-commits at lists.llvm.org
Fri Aug 28 05:08:03 PDT 2026


Meinersbur wrote:

> `-fmodule-verify=[strict|strict-user|relaxed|none]`

I have no strong preference to the option name and I think there are probably a better names than what I chose. I was e.g. undecided between `on` and `always`, `user` and `non-intrinsic`, and `-fmodule-mismatch-check` and `-fignore-module-checksums` (its negation).

My bikesheeding for `-fmodule-verify` would be that it sounds like it would verify the module individually, but is meant to check the concistency between modules.


> and `none` does not even warn on mismatches. `Wno-module-verify` could be an alias for `-fmodule-verify=none`

`-Wno-module-verify` comes from the warning diagnostic handling system. Making it an alias to non-warning switches is not that easy.

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


More information about the flang-commits mailing list