This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix common block size extension mistake in D109156
ClosedPublic

Authored by jeanPerier on Sep 8 2021, 8:12 AM.

Details

Summary

https://reviews.llvm.org/D109156 did not properly update the case where
the equivalence symbol appearing in the common statement is the
"base symbol of an equivalence group" (this was the only case that previously
worked ok, and the patch broke it).

Fix this and add a test that actually uses this code path.

Diff Detail

Event Timeline

jeanPerier created this revision.Sep 8 2021, 8:12 AM
jeanPerier requested review of this revision.Sep 8 2021, 8:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2021, 8:12 AM
klausler accepted this revision.Sep 8 2021, 9:33 AM
This revision is now accepted and ready to land.Sep 8 2021, 9:33 AM