[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:17:54 PDT 2026
Meinersbur wrote:
> I understand having a developer option to ignore the error, but I do not think we should advertise it to users as an option to get around such errors after a compiler update (if that is the reason why you are adding it).
There would be the possibility to make the option hidden and/or to add a big warning about using it in the documentation.
Personally, I don't think compilation should fail after a compiler update, just like one does not need recompile every .a/.so after updating gcc/clang. CMake for instance purposefully ignores dependencies to intrinsic modules, i.e. updating them does not trigger a recompilation, the user has to explicitly clear the build directory. The content of the instrinsic modules are defined by the Fortran specification, ideally there shouldn't be any backwards-compatibility problems. I think a warning about it should be sufficient.
https://github.com/llvm/llvm-project/pull/219181
More information about the flang-commits
mailing list