[all-commits] [llvm/llvm-project] bd87f2: [flang] Enforce prohibition against empty interope...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Mar 2 09:58:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd87f2df4a970d4912c426f7c092dbdde0630ffb
      https://github.com/llvm/llvm-project/commit/bd87f2df4a970d4912c426f7c092dbdde0630ffb
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/bind-c06.f90

  Log Message:
  -----------
  [flang] Enforce prohibition against empty interoperable arrays

Fortran doesn't allow a BIND(C) variable or a component of a BIND(C)
type to be an array with no elements.

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




More information about the All-commits mailing list