[flang-commits] [PATCH] D126152: [flang] Fix false error for multiple defined I/O subroutines

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Sat May 21 22:17:56 PDT 2022


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

User-defined derived type I/O subroutines need to be unique for
a given type and operation in any scope, but it is acceptable
to have more than one defined I/O subroutine so long as only one
of them is visible.


https://reviews.llvm.org/D126152

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126152.431209.patch
Type: text/x-patch
Size: 9247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220522/ca70205f/attachment-0001.bin>


More information about the flang-commits mailing list