[all-commits] [llvm/llvm-project] 372662: [flang] Fix crash from USE-associated defined I/O ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jan 21 17:49:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3726626a26ec7bfccfd526e02f89c1ac5fe3520a
      https://github.com/llvm/llvm-project/commit/3726626a26ec7bfccfd526e02f89c1ac5fe3520a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-21 (Fri, 21 Jan 2022)

  Changed paths:
    M flang/lib/Semantics/runtime-type-info.cpp

  Log Message:
  -----------
  [flang] Fix crash from USE-associated defined I/O subprograms

User-defined derived type I/O implementation subroutines and
generic interfaces may be USE-associated, but the code that builds
the type description table wasn't allowing for that possibility.
Add a call to GetUltimate() to cope.

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




More information about the All-commits mailing list