diff options
| author | CHANDRA GHALE <chandra.nitdgp@gmail.com> | 2026-02-11 12:06:37 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-11 12:06:37 +0530 |
| commit | 4b33d45809e175f9bb0a74faab049d7fd229e45e (patch) | |
| tree | c28fd463fb954fde082e17db1f5f9b7b7355ba60 /lldb/test/API/functionalities/fork | |
| parent | 0d08cb0e70378d1f10578f4e009eb29eb17ad2dd (diff) | |
| download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 | |
[Flang][OpenMP] Fix visibility of user-defined reductions for derived types and module imports (#180552)HEADmain
User-defined reductions declared in a module were not visible to
programs that imported the module via USE statements, causing valid code
to be incorrectly rejected. The reduction identifier defined in the
module scope wasn't being found during semantic analysis of the main
program.
Ref:
OpenMP Spec 5.1
_"If a directive appears in the specification part of a module then the
behavior is as if that directive,
with the variables, types and procedures that have PRIVATE accessibility
omitted, appears in the
specification part of any compilation unit that references the module
unless otherwise specified "_
Fixes :
[https://github.com/llvm/llvm-project/issues/176279](https://github.com/llvm/llvm-project/issues/176279)
Co-authored-by: Chandra Ghale <ghale@pe31.hpc.amslabs.hpecorp.net>
Diffstat (limited to 'lldb/test/API/functionalities/fork')
0 files changed, 0 insertions, 0 deletions
