[all-commits] [llvm/llvm-project] eb6ec1: [flang][openacc] Do not error when bind symbol is ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Oct 19 17:25:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb6ec1720628cb55677dd0db8d4ee75c43f37514
      https://github.com/llvm/llvm-project/commit/eb6ec1720628cb55677dd0db8d4ee75c43f37514
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

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

  Log Message:
  -----------
  [flang][openacc] Do not error when bind symbol is defined later or external (#69657)

The symbol in bind clause on acc routine refers to a function or a
subroutine. This patch avoids to raise error when the function or
subroutine is declared later in the code or is external. This is in line
with normal procedure name resolution in Fortran code.




More information about the All-commits mailing list