[all-commits] [llvm/llvm-project] 6bd72f: [flang] Allow extension cases of EQUIVALENCE with ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Feb 15 10:21:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6bd72fa661a892ebd3bafa46817f281b091138aa
https://github.com/llvm/llvm-project/commit/6bd72fa661a892ebd3bafa46817f281b091138aa
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Common/Fortran-features.h
M flang/include/flang/Evaluate/tools.h
M flang/lib/Evaluate/tools.cpp
M flang/lib/Parser/Fortran-parsers.cpp
M flang/lib/Parser/basic-parsers.h
M flang/lib/Semantics/resolve-names-utils.cpp
M flang/lib/Semantics/resolve-names-utils.h
M flang/test/Semantics/equivalence01.f90
Log Message:
-----------
[flang] Allow extension cases of EQUIVALENCE with optional warnings
EQUIVALENCE storage association of objects whose types are not
both default-kind numeric storage sequences, or not both default-kind
character storage sequences, are not standard conformant.
However, most Fortran compilers admit such usage, with warnings
in strict conformance mode. This patch allos EQUIVALENCE of objects
that have sequence types that are either identical, both numeric
sequences (of default kind or not), or both character sequences.
Non-sequence types, and sequences types that are not homogeneously
numeric or character, remain errors.
Differential Revision: https://reviews.llvm.org/D119848
More information about the All-commits
mailing list