[all-commits] [llvm/llvm-project] c82db7: [flang] Handle indirect USE of ancestor module int...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Jan 31 10:54:47 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c82db773f47fce978c6ec5c567caeefa27e6521b
https://github.com/llvm/llvm-project/commit/c82db773f47fce978c6ec5c567caeefa27e6521b
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2025-01-31 (Fri, 31 Jan 2025)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/bug124731.f90
M flang/test/Semantics/self-use.f90
Log Message:
-----------
[flang] Handle indirect USE of ancestor module into submodule (#124969)
A USE statement within a submodule (possibly in a nested scope) is not
allowed to USE the submodule's ancestor module directly, but it is
permissible to USE that ancestor module indirectly via another unrelated
module. Don't emit "already present in scope" errors for this case.
Fixes https://github.com/llvm/llvm-project/issues/124731.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list