diff options
author | Peter Klausler <pklausler@nvidia.com> | 2025-06-04 09:22:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-04 09:22:58 -0700 |
commit | 43abd252db7245a2c3ea9c0c18aa6eb1955eea1a (patch) | |
tree | e79fefca03beda011dc165b8205cc8486d7c5ef8 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | f521338024a40175bd317be8c50ed20fbcf2a820 (diff) | |
download | llvm-43abd252db7245a2c3ea9c0c18aa6eb1955eea1a.zip llvm-43abd252db7245a2c3ea9c0c18aa6eb1955eea1a.tar.gz llvm-43abd252db7245a2c3ea9c0c18aa6eb1955eea1a.tar.bz2 |
[flang] Fix corner case of defined component assignment (#142201)
For componentwise assignment in derived type intrinsic assignment, the
runtime type information's special binding table is currently populated
only with type-bound ASSIGNMENT(=) procedures that have the same derived
type for both arguments. This restriction excludes all defined
assignments for cases that cannot arise in this context, like defined
assignments from intrinsic types or incompatible derived types.
However, this restriction also excludes defined assignments from
distinct but compatible derived types, i.e. ancestors. Loosen it a
little to allow them.
Fixes https://github.com/llvm/llvm-project/issues/142151.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions