[all-commits] [llvm/llvm-project] eaa8de: [flang] Expand parent component in procedure point...
jeanPerier via All-commits
all-commits at lists.llvm.org
Fri Jan 19 06:09:37 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eaa8def929b17ea4c7a13a7bf860ac07bfd5bf14
https://github.com/llvm/llvm-project/commit/eaa8def929b17ea4c7a13a7bf860ac07bfd5bf14
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-01-19 (Fri, 19 Jan 2024)
Changed paths:
M flang/include/flang/Semantics/expression.h
M flang/lib/Lower/ConvertProcedureDesignator.cpp
M flang/lib/Semantics/expression.cpp
A flang/test/Lower/HLFIR/proc-pointer-comp-in-parent.f90
Log Message:
-----------
[flang] Expand parent component in procedure pointer component ref (#78593)
For simplicity, lowering relies on semantics expansion of parent
components in designators.
This was not done in `call x%p()` where `p` is a procedure component
pointer of a parent component of `x`.
Do it and turn lowering TODO into a new lowering TODO for `call bar(x%type_bound_procedure)` (passing a tybe bound procedure is allowed as an extension, but lowering does not handle this extension yet. This is a lowering issue, will do in different patch).
More information about the All-commits
mailing list