[flang-commits] [PATCH] D106297: [flang] Run-time derived type initialization and destruction
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Jul 19 11:56:23 PDT 2021
klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added subscribers: jdoerfert, mgorny.
Herald added a reviewer: sscalpone.
klausler requested review of this revision.
Use derived type information tables to drive default component
initialization (when needed), component destruction, and calls to
final subroutines. Perform these operations automatically for
ALLOCATE()/DEALLOCATE() APIs for allocatables, automatics, and
pointers. Add APIs for use in lowering to perform these operations
for non-allocatable/automatic non-pointer variables.
Data pointer component initialization supports arbitrary constant
designators, a F'2008 feature, which may be a first for Fortran
implementations.
https://reviews.llvm.org/D106297
Files:
flang/docs/Extensions.md
flang/include/flang/Semantics/tools.h
flang/include/flang/Semantics/type.h
flang/lib/Evaluate/shape.cpp
flang/lib/Evaluate/tools.cpp
flang/lib/Semantics/check-declarations.cpp
flang/lib/Semantics/compute-offsets.cpp
flang/lib/Semantics/resolve-names.cpp
flang/lib/Semantics/runtime-type-info.cpp
flang/lib/Semantics/tools.cpp
flang/lib/Semantics/type.cpp
flang/module/__fortran_type_info.f90
flang/runtime/CMakeLists.txt
flang/runtime/allocatable.cpp
flang/runtime/allocatable.h
flang/runtime/derived-api.cpp
flang/runtime/derived-api.h
flang/runtime/derived.cpp
flang/runtime/derived.h
flang/runtime/descriptor-io.h
flang/runtime/descriptor.cpp
flang/runtime/descriptor.h
flang/runtime/namelist.cpp
flang/runtime/pointer.cpp
flang/runtime/type-info.cpp
flang/runtime/type-info.h
flang/test/Semantics/call10.f90
flang/test/Semantics/offsets01.f90
flang/test/Semantics/typeinfo01.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106297.359868.patch
Type: text/x-patch
Size: 71907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210719/3935c268/attachment-0001.bin>
More information about the flang-commits
mailing list