diff options
author | Valentin Clement <clementval@gmail.com> | 2022-09-21 18:47:41 +0200 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2022-09-21 18:48:09 +0200 |
commit | f3222be4fcb76e8c70aa8ebfb68ebf6ace1c6aee (patch) | |
tree | 9d0825a1ad8979434644ddc8414059d0ff8e3446 /llvm/lib/Object/XCOFFObjectFile.cpp | |
parent | 006a752a3c033950eb16db6b63574c309fa43241 (diff) | |
download | llvm-f3222be4fcb76e8c70aa8ebfb68ebf6ace1c6aee.zip llvm-f3222be4fcb76e8c70aa8ebfb68ebf6ace1c6aee.tar.gz llvm-f3222be4fcb76e8c70aa8ebfb68ebf6ace1c6aee.tar.bz2 |
[flang] Avoid deallocation of intent(out) when dummy arg is not in entry stmt
In some case, the ENTRY statement in a procedure is including some
dummy argument. Until now, deallocation of intent(out) allocatable was
not checking for this and it could result in a segmentation fault.
This patch avoids deallocation when the value is not in the ENTRY stmt.
Reviewed By: jeanPerier, PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D134342
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions