FLANG
|
Public Member Functions | |
void | MapCommonBlockAndCheckConflicts (SemanticsContext &context, const Symbol &common) |
CommonBlockList | GetCommonBlocks () const |
This class keeps track of the common block appearances with the biggest size and with an initial value (if any) in a program. This allows reporting conflicting initialization and warning about appearances of a same named common block with different sizes. The biggest common block size and initialization (if any) can later be provided so that lowering can generate the correct symbol size and initial values, even when named common blocks appears with different sizes and are initialized outside of block data.