[all-commits] [llvm/llvm-project] 287e9e: [flang] Do not initialize intent(out) polymorphic ...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Sun Feb 26 01:45:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 287e9e988798c591e8472a76308afe6e25704896
https://github.com/llvm/llvm-project/commit/287e9e988798c591e8472a76308afe6e25704896
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-02-26 (Sun, 26 Feb 2023)
Changed paths:
M flang/lib/Lower/ConvertVariable.cpp
M flang/test/Lower/default-initialization.f90
Log Message:
-----------
[flang] Do not initialize intent(out) polymorphic pointer or allocatable
Calling the runtime on disassociated pointer or unallocated
allocatable will trigger a segfault.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D144752
More information about the All-commits
mailing list