This is an archive of the discontinued LLVM Phabricator instance.

[flang] Apply definability checks in ALLOCATE/DEALLOCATE statements
ClosedPublic

Authored by klausler on Dec 15 2022, 12:07 PM.

Details

Summary

The pointers and allocatables that appear in ALLOCATE and DEALLOCATE
statements need to be subject to the general definability checks so
that problems with e.g. PROTECTED objects can be caught.

(Also: regularize the capitalization of the DEALLOCATE error messages
while I'm in here so that they're consistent with the messages that
can come out for ALLOCATE.)

Diff Detail

Event Timeline

klausler created this revision.Dec 15 2022, 12:07 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 15 2022, 12:07 PM
vdonaldson accepted this revision.Dec 15 2022, 1:04 PM
This revision is now accepted and ready to land.Dec 15 2022, 1:04 PM
This revision was landed with ongoing or failed builds.Dec 17 2022, 9:46 AM
This revision was automatically updated to reflect the committed changes.