[flang-commits] [PATCH] D153385: [flang] Rework name resolution of Cray pointer declarations

Pete Steinfeld via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jun 20 17:16:32 PDT 2023


PeteSteinfeld accepted this revision.
PeteSteinfeld added a comment.
This revision is now accepted and ready to land.

Aside fromt the question, all builds and tests correctly and looks good.



================
Comment at: flang/test/Semantics/resolve61.f90:73
   end type
-  !ERROR: 't' is not a variable
+  !ERROR: 't' is already declared in this scoping unit
   pointer(a, t)
----------------
This error used to have a more accurate message.  Now we seem to be treating the appearance of `t` in a `pointer` statement as a redeclaration.  This seems OK to me, but I just wanted to make sure that this is what you intended.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153385/new/

https://reviews.llvm.org/D153385



More information about the flang-commits mailing list