[flang-commits] [flang] [flang] Catch name resolution error due to global scoping (PR #77683)

via flang-commits flang-commits at lists.llvm.org
Thu Jan 11 08:12:00 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
----------------
jeanPerier wrote:

Why does the change causes this warning to not be emitted anymore?

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


More information about the flang-commits mailing list