[all-commits] [llvm/llvm-project] 5cbe39: [flang][OpenMP] Allow default(none) to access vari...

NimishMishra via All-commits all-commits at lists.llvm.org
Mon Jul 11 06:34:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cbe39ef880e0d8a61db111fca0b14b3ca17a17b
      https://github.com/llvm/llvm-project/commit/5cbe39ef880e0d8a61db111fca0b14b3ca17a17b
  Author: Nimish Mishra <neelam.nimish at gmail.com>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Semantics/OpenMP/omp-resolve05.f90

  Log Message:
  -----------
  [flang][OpenMP] Allow default(none) to access variables with PARAMETER attribute

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.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D129444




More information about the All-commits mailing list