[all-commits] [llvm/llvm-project] 5a0b91: [flang][openacc] Fix false positive error in commo...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Jul 10 08:39:51 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a0b91fc28212f105c9b49a62444f7b92a54b1ed
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-07-10 (Mon, 10 Jul 2023)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Semantics/OpenACC/acc-resolve04.f90

  Log Message:
  [flang][openacc] Fix false positive error in common block resolution

The following error was triggered in the added test case.
This is a false positive.

COMMON block must be declared in the same scoping unit in which the OpenACC directive or clause appears

Reviewed By: kiranchandramohan

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

More information about the All-commits mailing list