This is an archive of the discontinued LLVM Phabricator instance.

[flang] Do not initialize intent(out) polymorphic pointer or allocatable
ClosedPublic

Authored by clementval on Feb 24 2023, 11:55 AM.

Details

Summary

Calling the runtime on disassociated pointer or unallocated
allocatable will trigger a segfault.

Diff Detail

Event Timeline

clementval created this revision.Feb 24 2023, 11:55 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 24 2023, 11:55 AM
clementval requested review of this revision.Feb 24 2023, 11:55 AM
PeteSteinfeld accepted this revision.Feb 24 2023, 1:33 PM

All builds and tests successfully and looks good.

This revision is now accepted and ready to land.Feb 24 2023, 1:33 PM