[flang-commits] [PATCH] D91657: [flang] Correct handling of null pointer initializers

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Nov 17 13:22:53 PST 2020


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.
klausler requested review of this revision.

Fortran defines "null-init" null pointer initializers as
 being function references, syntactically, that have to resolve
 to calls to the intrinsic function NULL() with no actual
 arguments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91657

Files:
  flang/docs/f2018-grammar.md
  flang/include/flang/Parser/parse-tree.h
  flang/include/flang/Semantics/expression.h
  flang/lib/Evaluate/check-expression.cpp
  flang/lib/Parser/Fortran-parsers.cpp
  flang/lib/Semantics/data-to-inits.cpp
  flang/lib/Semantics/expression.cpp
  flang/lib/Semantics/resolve-names.cpp
  flang/test/Semantics/modfile20.f90
  flang/test/Semantics/null-init.f90
  flang/test/Semantics/symbol15.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91657.305893.patch
Type: text/x-patch
Size: 16027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20201117/b4f6b9dc/attachment-0001.bin>


More information about the flang-commits mailing list