This is an archive of the discontinued LLVM Phabricator instance.

[flang] Ensure "dtv" args are passed by descriptor when polymorphic
ClosedPublic

Authored by klausler on Mar 3 2023, 9:56 AM.

Details

Summary

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.

Diff Detail

Event Timeline

klausler created this revision.Mar 3 2023, 9:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2023, 9:56 AM
klausler requested review of this revision.Mar 3 2023, 9:56 AM
sscalpone accepted this revision.Mar 3 2023, 11:40 AM
This revision is now accepted and ready to land.Mar 3 2023, 11:40 AM