[all-commits] [llvm/llvm-project] cfd474: [flang] Enforce C1552, no binding labels allowed f...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jun 28 11:00:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfd474e0d036877ee6c83d236df71aa8fe0729bf
      https://github.com/llvm/llvm-project/commit/cfd474e0d036877ee6c83d236df71aa8fe0729bf
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/test/Semantics/bind-c01.f90
    M flang/test/Semantics/bind-c04.f90
    A flang/test/Semantics/bind-c05.f90
    M flang/test/Semantics/declarations03.f90

  Log Message:
  -----------
  [flang] Enforce C1552, no binding labels allowed for internal procedures

If BIND(C) appears on an internal procedure, it must have a null binding
label, i.e. BIND(C,NAME="").

Also address conflicts with D127725 which was merged during development.

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




More information about the All-commits mailing list