This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix extent computation in finalization
ClosedPublic

Authored by klausler on Mar 7 2022, 1:56 PM.

Details

Summary

The code that computed the extent of a dimension of a
non-allocatable/non-automatic component array during
finalization had a reversed subtraction; fix, and
use variables to make the code a little more readable.

Diff Detail

Event Timeline

klausler created this revision.Mar 7 2022, 1:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2022, 1:56 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Mar 7 2022, 1:56 PM
This revision is now accepted and ready to land.Mar 9 2022, 12:17 AM
This revision was automatically updated to reflect the committed changes.