[all-commits] [llvm/llvm-project] d65aee: [flang] Make sure derived-type finalization is don...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Wed Feb 1 05:56:33 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d65aeeb360e279dfc7c9ddf7c8555b585e9df0d4
https://github.com/llvm/llvm-project/commit/d65aeeb360e279dfc7c9ddf7c8555b585e9df0d4
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/test/Lower/derived-type-finalization.f90
Log Message:
-----------
[flang] Make sure derived-type finalization is done before return
Finalization needs to be done before the terminator. In case
of end program, this was done after it and trigger a verifier error.
This patch fixes this case.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D143055
More information about the All-commits
mailing list