[all-commits] [llvm/llvm-project] 29cdc8: [flang][OpenMP] Fix nested privatization of alloca...
Leandro Lupori via All-commits
all-commits at lists.llvm.org
Mon Jul 1 10:10:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 29cdc8f9ca58411992d3fa5afd89e0628df24679
https://github.com/llvm/llvm-project/commit/29cdc8f9ca58411992d3fa5afd89e0628df24679
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
A flang/test/Lower/OpenMP/task2.f90
Log Message:
-----------
[flang][OpenMP] Fix nested privatization of allocatable (#96968)
In nested constructs where a given variable is privatized more than
once, using the default clause, the innermost host association symbol
will point to the previous host association symbol.
Such symbol lacks the allocatable attribute and can't be used to
generate the type of the symbol to be cloned. Use the ultimate
symbol instead.
Fixes #85594, #80398
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list