[PATCH] D89581: [flang] Disallow pointer constants

Peter Klausler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 11:59:29 PDT 2020


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

Please add a comment that lays out our reasoning for the prohibition against combining PARAMETER and POINTER, since the standards do not explicitly preclude it.  (The PARAMETER attribute requires a entity-decl to have an initialization that is a constant-expr, and the only form of initialization that allows a constant-expr is the one that's not a "=>" pointer initialization.)  See C811, C807, & 8.5.13.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89581



More information about the llvm-commits mailing list