[flang-commits] [PATCH] D113312: [flang] Make subscript list argument a nullable pointer

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Nov 5 12:35:50 PDT 2021


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.

Component::CreatePointerDescriptor unconditionally expects a
vector of subscripts to be passed as an argument, but is called
from NAMELIST input with a null pointer.  Make that argument
a nullable pointer, move it to the end of the argument list,
and give it a default value of nullptr.


https://reviews.llvm.org/D113312

Files:
  flang/runtime/assign.cpp
  flang/runtime/descriptor-io.h
  flang/runtime/namelist.cpp
  flang/runtime/type-info.cpp
  flang/runtime/type-info.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113312.385157.patch
Type: text/x-patch
Size: 6747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20211105/2f7e97c5/attachment.bin>


More information about the flang-commits mailing list