[all-commits] [llvm/llvm-project] 099a62: [flang] Ensure "dtv" args passed by descriptor whe...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Mar 9 09:55:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 099a62e16ca3a56ee50ff493fb75ff1b119f9c08
      https://github.com/llvm/llvm-project/commit/099a62e16ca3a56ee50ff493fb75ff1b119f9c08
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

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

  Log Message:
  -----------
  [flang] Ensure "dtv" args passed by descriptor when polymorphic

The predicate used to determine whether the initial "dtv" argument
to a user-defined derived type I/O procedure specified by a generic
interface that is not in the derived type definition is wrong.
The "dtv" argument must be passed via a descriptor whenever it is
polymorphic.

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




More information about the All-commits mailing list