[all-commits] [llvm/llvm-project] dcf9ba: [flang] Fix false error for multiple defined I/O s...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue May 24 13:51:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dcf9ba82d99c2b4625b2e0c00c44a469048f2827
      https://github.com/llvm/llvm-project/commit/dcf9ba82d99c2b4625b2e0c00c44a469048f2827
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-24 (Tue, 24 May 2022)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/io11.f90

  Log Message:
  -----------
  [flang] Fix false error for multiple defined I/O subroutines

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.

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




More information about the All-commits mailing list