This is an archive of the discontinued LLVM Phabricator instance.

[flang] Make sure allocatable components are initialzed for temp derived-type
ClosedPublic

Authored by clementval on Sep 2 2022, 1:22 AM.

Details

Summary

Runtime functions expect clean unallocated state for descriptor. This
patch adds a call to the runtime function to initialize the temporary
derived-type created.

Diff Detail

Event Timeline

clementval created this revision.Sep 2 2022, 1:22 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Sep 2 2022, 1:22 AM
vdonaldson accepted this revision.Sep 2 2022, 9:17 AM
This revision is now accepted and ready to land.Sep 2 2022, 9:17 AM