diff options
author | Peter Klausler <pklausler@nvidia.com> | 2023-03-03 11:43:55 -0800 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2023-03-10 09:19:52 -0800 |
commit | d38765604f9372dab74a82b573302bd6401c6698 (patch) | |
tree | ecc31f0eb63dfeb90b1cb88f954dbbfdd21f50ad /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 30705e977061e437a337070fd6a21c7df2c62670 (diff) | |
download | llvm-d38765604f9372dab74a82b573302bd6401c6698.zip llvm-d38765604f9372dab74a82b573302bd6401c6698.tar.gz llvm-d38765604f9372dab74a82b573302bd6401c6698.tar.bz2 |
[flang] Forward references to COMMON from specification expr under IMPLICIT NONE
As a near-universal extension, Fortran compilers permit forward references
to dummy arguments and variables in COMMON blocks from specification expressions
before an explicit type-declaration-stmt appears for those variables
under IMPLICIT NONE, so long as those variables are later explicitly typed
with the types that regular implicit typing rules would have given them
(usually default INTEGER).
F18 implemented this extension for dummy arguments, but not variables in
COMMON blocks. Extend the extension to also accept variables in COMMON.
Differential Revision: https://reviews.llvm.org/D145743
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions