[all-commits] [llvm/llvm-project] ab7930: [flang] Relax checking of dummy procedures under B...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri May 17 15:51:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab7930bd9f088c4fcdfd438b5207a4052c9669b8
      https://github.com/llvm/llvm-project/commit/ab7930bd9f088c4fcdfd438b5207a4052c9669b8
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-05-17 (Fri, 17 May 2024)

  Changed paths:
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/bind-c03.f90
    M flang/test/Semantics/bind-c09.f90
    M flang/test/Semantics/bind-c12.f90
    M flang/test/Semantics/resolve81.f90
    M flang/test/Semantics/resolve82.f90

  Log Message:
  -----------
  [flang] Relax checking of dummy procedures under BIND(C) (#92474)

As was done recently to allow derived types that are not explicitly
BIND(C), but meet the requirements of BIND(C), to be acceptable for use
in contexts nominally requiring BIND(C), this patch allows procedures
that are not explicitly BIND(C) to be used in contexts that nominally
require BIND(C) so long as (1) they meet the requirements of BIND(C),
and (2) don't use dummy arguments whose implementations may vary under
BIND(C), such as VALUE.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list