[flang-commits] [PATCH] D155974: [flang] Strengthen procedure compatibility checking

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Jul 21 08:43:43 PDT 2023


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

Add more checks to procedure compatibility testing for procedure pointer
assignments, actual procedure arguments, &c.  Specifically, don't
allow corresponding dummy data objects to differ in their use 
of polymorphism, assumed size arrays, or assumed shape arrays.


https://reviews.llvm.org/D155974

Files:
  flang/lib/Evaluate/characteristics.cpp
  flang/test/Semantics/argshape01.f90
  flang/test/Semantics/assign12.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155974.542949.patch
Type: text/x-patch
Size: 5587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230721/e36496c0/attachment-0001.bin>


More information about the flang-commits mailing list