[all-commits] [llvm/llvm-project] 467525: [flang] Fix crash in runtime-type-info.cpp
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Aug 12 09:32:24 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 467525bd07942a1f9be97bbcc3cc4ed83ed5d9c1
https://github.com/llvm/llvm-project/commit/467525bd07942a1f9be97bbcc3cc4ed83ed5d9c1
Author: peter klausler <pklausler at nvidia.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
M flang/include/flang/Semantics/type.h
M flang/lib/Semantics/runtime-type-info.cpp
M flang/test/Semantics/typeinfo01.f90
Log Message:
-----------
[flang] Fix crash in runtime-type-info.cpp
Recent work in runtime assignments failed an assertion in fir-dev
while running tests (flang/test/Semantics/defined-ops.f90). This
test didn't fail in llvm-project/main because only the "new" Arm
driver is used now, and that only builds runtime derived type information
tables when some debug dumping options are enabled.
So add a reproducing test case to another test that is run with
-fdebug-dump-symbols, and fix the crash by emitting special procedure
binding information only for type-bound generic ASSIGNMENT(=) bindings
that are relevant to the runtime support library for use in intrinsic
assignment of derived types.
Differential Revision: https://reviews.llvm.org/D107918
More information about the All-commits
mailing list