[all-commits] [llvm/llvm-project] b57bc1: [flang] Catch obscure structure constructor error
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Feb 13 15:24:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b57bc158ea462c897211aa64c3b4071fdac2f12c
https://github.com/llvm/llvm-project/commit/b57bc158ea462c897211aa64c3b4071fdac2f12c
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-02-13 (Mon, 13 Feb 2023)
Changed paths:
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/data01.f90
A flang/test/Semantics/structconst06.f90
Log Message:
-----------
[flang] Catch obscure structure constructor error
A scalar value in a structure constructor may correspond to an
array component in the derived type only when that component has
a shape to which the scalar value may be expanded.
Differential Revision: https://reviews.llvm.org/D143822
More information about the All-commits
mailing list