[all-commits] [llvm/llvm-project] 2d4626: [flang] add nested DEC STRUCTURE in DerivedTypeDet...
jeanPerier via All-commits
all-commits at lists.llvm.org
Fri Jun 30 11:26:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2d46264ca6d850ff34d1b1d18d0814e236316ec8
https://github.com/llvm/llvm-project/commit/2d46264ca6d850ff34d1b1d18d0814e236316ec8
Author: Jean Perier <jperier at nvidia.com>
Date: 2023-06-30 (Fri, 30 Jun 2023)
Changed paths:
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/struct02.f90
Log Message:
-----------
[flang] add nested DEC STRUCTURE in DerivedTypeDetails component names
Currently, when a (legacy) DEC structure contained other DEC structure
declarations, the related component names were not added to the
containing DerivedTypeDetails component_names. This lead to bugs in
later phase when visiting the components (like in when lowering the
type to FIR/MLIR).
When an EntityDecl is visited and the scope is a DEC structure, add
the entity to the component names of this DEC structure.
Differential Revision: https://reviews.llvm.org/D154216
More information about the All-commits
mailing list