This patch fixes https://github.com/flang-compiler/f18-llvm-project/issues/1351. Concretely, data-sharing attributes on PARAMETER data used in a block with DEFAULT(NONE) should be ignored.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
flang/lib/Semantics/resolve-directives.cpp | ||
---|---|---|
1486 | Did you notice any issue with adding this check to the outer if? |
flang/lib/Semantics/resolve-directives.cpp | ||
---|---|---|
1478 | @kiranchandramohan If you meant if we observe errors when adding the check here, then no. |
flang/lib/Semantics/resolve-directives.cpp | ||
---|---|---|
1478 | Since OpenMP-specific symbol information is not expected in the symbol for parameter constants, this might be a better position for that check. |
@kiranchandramohan If you meant if we observe errors when adding the check here, then no.