[flang-commits] [PATCH] D109905: [flang] More precise checks for NULL() operands
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Sep 16 11:43:53 PDT 2021
klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.
Improve checking for NULL() and NULL(MOLD=) when used as
variables and expressions outside the few contexts where
a disassociated pointer can be valid. There were both
inappropriate errors and missing checks.
https://reviews.llvm.org/D109905
Files:
flang/include/flang/Evaluate/expression.h
flang/lib/Evaluate/tools.cpp
flang/lib/Semantics/check-call.cpp
flang/lib/Semantics/check-omp-structure.cpp
flang/lib/Semantics/expression.cpp
flang/test/Semantics/resolve63.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109905.373019.patch
Type: text/x-patch
Size: 30979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210916/80787076/attachment-0001.bin>
More information about the flang-commits
mailing list