[flang-commits] [flang] [Flang] Module name should not be the same as local name in the module. (PR #175605)
via flang-commits
flang-commits at lists.llvm.org
Mon Jan 12 21:18:22 PST 2026
SunilKuravinakop wrote:
No changes in code are required as the name clashes can be viewed as follows:
flang -c module-name.f90 -pedantic
./module-name.f90:5:14: portability: Name 'your_module' declared in a module should not have the same name as the module [-Wbenign-name-clash]
integer :: your_module = 2
https://github.com/llvm/llvm-project/pull/175605
More information about the flang-commits
mailing list