[flang-commits] [flang] [flang] Catch name resolution error due to global scoping (PR #77683)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Jan 11 08:54:19 PST 2024
================
@@ -56,7 +56,6 @@ program reshaper
!ERROR: Size of 'shape=' argument must not be greater than 15
CALL ext_sub(RESHAPE([(n, n=1,20)], &
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]))
- !WARNING: Reference to the procedure 'ext_sub' has an implicit interface that is distinct from another reference: incompatible dummy argument #1: incompatible dummy data object shapes
----------------
klausler wrote:
I suspect that 'HasError()` became true on a symbol and prevented a warning message, but I don't know for sure.
https://github.com/llvm/llvm-project/pull/77683
More information about the flang-commits
mailing list