[flang-commits] [PATCH] D145106: [flang] Enforce prohibition against empty interoperable arrays

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Mar 1 12:14:21 PST 2023


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

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


https://reviews.llvm.org/D145106

Files:
  flang/lib/Semantics/check-declarations.cpp
  flang/test/Semantics/bind-c06.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145106.501626.patch
Type: text/x-patch
Size: 5607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230301/fc81ea3e/attachment-0001.bin>


More information about the flang-commits mailing list