[all-commits] [llvm/llvm-project] 3f5531: [flang] Fix optional assertion in PFTBuilder
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Wed Feb 8 07:54:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3f55311a0afff6278571922e1c23bf5c71dd2d0b
https://github.com/llvm/llvm-project/commit/3f55311a0afff6278571922e1c23bf5c71dd2d0b
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M flang/lib/Lower/PFTBuilder.cpp
A flang/test/Lower/pre-fir-tree08.f
Log Message:
-----------
[flang] Fix optional assertion in PFTBuilder
D142279 enabled assertion in libstdc++ and one was triggered
in the PFTBuilder because an optional was access even if it was
null.
This patch fix this issue and add a regression test.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D143589
More information about the All-commits
mailing list