Files
clang-p2996/flang/test/Semantics
Peter Klausler 7ed26ad10c [flang] Always incorporate parent types' special generic bindings
The runtime type information table generator was broken when dealing
with an extension derived type that didn't include a special generic
procedure binding for ASSIGNMENT(=) or user-defined I/O, but one of
whose ancestor types did.  Ensure that the runtime derived type info
tables have complete subtables for all of these special bindings,
and respect any overrides that may have been defined.

Motivating example:
  type parent
   contains
    procedure :: dtWrite => dtWrite1
    generic :: write(formatted) => dtWrite
  end type
  type, extends(parent) :: extended
   contains
    procedure :: dtWrite => dtWrite2
  end type

The runtime derived type information table for "extended" must include
a special generic procedure entry for "write(formatted)" that points
to "dtWrite2" even though "extend" has no generic procedure for
"write(formatted)".

Differential Revision: https://reviews.llvm.org/D144148
2023-02-16 08:30:20 -08:00
..
2022-10-29 14:08:44 -07:00
2022-08-25 18:11:38 +02:00
2022-10-30 14:50:31 -07:00
2022-10-30 14:50:31 -07:00
2023-02-14 10:04:56 -03:00
2022-07-13 15:34:48 -07:00
2022-07-13 15:34:48 -07:00