[all-commits] [llvm/llvm-project] d904ee: [flang] Handle correctly optional intrinsic scalar...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Mon Feb 13 06:44:30 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d904ee3d479a0731b2f0918c057081283102f790
https://github.com/llvm/llvm-project/commit/d904ee3d479a0731b2f0918c057081283102f790
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-02-13 (Mon, 13 Feb 2023)
Changed paths:
M flang/lib/Lower/ConvertExpr.cpp
M flang/test/Lower/polymorphic.f90
Log Message:
-----------
[flang] Handle correctly optional intrinsic scalar to unlimited polymorphic optional
When an optional intrinsic scalar is passed to a function expecting an
unlimited polymorphic dummy argument, the presence test must be done
before the emboxing otherwise it will result in a program crash.
Depends on D143888
Reviewed By: jeanPerier, PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D143889
More information about the All-commits
mailing list