Skip to content
Unverified Commit 94b4a986 authored by Peter Klausler's avatar Peter Klausler Committed by GitHub
Browse files

[flang] Fix bogus error w/ COMMON & EQUIVALENCE (#66254)

Semantic checking of COMMON blocks and EQUIVALENCE sets has an
assumption that the base storage sequence object of each COMMON block
object will also be in that COMMON block's list of objects, and emits an
error message when this is not the case. This assumption is faulty; it
is possible for a base object to have its COMMON block set during offset
assignment.

Fixes https://github.com/llvm/llvm-project/issues/65922.
parent 1212d1b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment