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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 51219
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51219&action=edit
gcc12-pr101539-2.patch

Untested patch for the __is_pointer_interconvertible_base_of trait and
__builtin_is_pointer_interconvertible_with_class.  This part doesn't seem to
suffer any issues on the standard side unlike the layout-compatible stuff,
but I'm not sure I understood everything right.

Reply via email to