HomePhabricator

[flang] Fix bug in IMPLICIT NONE(EXTERNAL)

Authored by tskeith on Dec 18 2020, 5:43 PM.

Description

[flang] Fix bug in IMPLICIT NONE(EXTERNAL)

We were only checking the restrictions of IMPLICIT NONE(EXTERNAL) when a
procedure name is first encountered. But it can also happen with an
existing symbol, e.g. if an external function's return type is declared
before is it called. This change adds a check in that branch too.

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

Details

Committed
tskeithDec 18 2020, 5:43 PM
Differential Revision
D93552: [flang] Fix bug in IMPLICIT NONE(EXTERNAL)
Parents
rG44f399ccc12e: [FileCheck] Add a literal check directive modifier
Branches
Unknown
Tags
Unknown