This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix false error message for "ptr => func()" array conformance
ClosedPublic

Authored by klausler on Dec 15 2020, 10:56 AM.

Details

Summary

Pointers must have deferred shapes, so CheckConformance must be
extended to allow for them.

Diff Detail

Event Timeline

klausler created this revision.Dec 15 2020, 10:56 AM
klausler requested review of this revision.Dec 15 2020, 10:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2020, 10:56 AM
tskeith added inline comments.Dec 15 2020, 2:55 PM
flang/lib/Semantics/pointer-assignment.cpp
174

The first comment terminator is messed up.

tskeith accepted this revision.Dec 15 2020, 3:09 PM
This revision is now accepted and ready to land.Dec 15 2020, 3:09 PM
klausler updated this revision to Diff 312060.Dec 15 2020, 3:34 PM

Patch bug found by reviewer.

This revision was landed with ongoing or failed builds.Dec 15 2020, 4:26 PM
This revision was automatically updated to reflect the committed changes.