[all-commits] [llvm/llvm-project] 6bc14f: [flang] Foil attempts to require interoperable poi...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 8 11:51:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bc14f238e4b1b44080dbe53bc394bd3c584ba39
      https://github.com/llvm/llvm-project/commit/6bc14f238e4b1b44080dbe53bc394bd3c584ba39
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M flang/lib/Evaluate/type.cpp
    M flang/lib/Semantics/check-declarations.cpp
    A flang/test/Semantics/bind-c13.f90

  Log Message:
  -----------
  [flang] Foil attempts to require interoperable pointers be CONTIGUOUS

BIND(C) interoperable pointer descriptors may not be required to be
CONTIGUOUS in procedure interfaces.

(Also fixed erroneous true result from IsDescriptor() predicate for
assumed-size arrays that was exposed by testing.)

Fixes llvm-test-suite/Fortran/gfortran/regression/bind_c_contiguous.f90.

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




More information about the All-commits mailing list