HomePhabricator

[flang] Fix bug for forward referenced type

Authored by PeteSteinfeld on Sep 11 2020, 11:02 AM.

Description

[flang] Fix bug for forward referenced type

A type name in an IMPLICIT declaration that was later used in a PARAMETER
statement caused problems because the default symbol scope had not yet been
initialized. I avoided dereferencing in the situation where the default scope
was uninitialized and added a test that triggers the problem.

Differential Revision: https://reviews.llvm.org/D87535

Details

Committed
PeteSteinfeldSep 11 2020, 11:58 AM
Differential Revision
D87535: [flang] Fix bug for forward referenced type
Parents
rG238ae4eee051: [SyntaxTree] Add const qualifiers, from [llvm-qualified-auto]
Branches
Unknown
Tags
Unknown