https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126014

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
                 CC|                            |ebotcazou at gcc dot gnu.org
   Last reconfirmed|                            |2026-06-28

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
That's a very verbose way of saying that the Annex E implementation in Exp_Dist
does not support interface types (but I presume that terseness does not play
nice with the current business model of LLM providers), which is indeed very
likely from a cursory reading of the code.  That's why I'm not sure that the
proposed patch is the end of the road as far as this support is concerned.

The canonical way to force a displacement of the "this" pointer to the
secondary dispatch table is to generate an implicit type conversion (and call
Flag_Interface_Pointer_Displacement just after, see existing examples in the
code).

Note that LLM-generated patches cannot be accepted from the time being.

Reply via email to