[flang-commits] [PATCH] D143832: [flang] Check for non-interoperable intrinsic types in BIND(C) derived types

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Sat Feb 11 16:35:59 PST 2023


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

Every component of a BIND(C) interoperable derived type must have an
interoperable type.  Semantics was checking components with derived types,
but not components with intrinsic types.


https://reviews.llvm.org/D143832

Files:
  flang/include/flang/Evaluate/type.h
  flang/include/flang/Semantics/type.h
  flang/lib/Evaluate/type.cpp
  flang/lib/Semantics/check-declarations.cpp
  flang/lib/Semantics/type.cpp
  flang/test/Semantics/bind-c06.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143832.496724.patch
Type: text/x-patch
Size: 5082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230212/39a76290/attachment-0001.bin>


More information about the flang-commits mailing list