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

--- Comment #8 from Dmitriano <d-ef at yandex dot ru> ---
(In reply to Dmitriano from comment #7)
> (In reply to Richard Biener from comment #6)
> > It sounds like the usual upcasting of a link-only node which is strictly
> > non-conforming and can also result in TBAA issues but it's wide-spread. 
> > Note I didn't look into the source at all.
> 
> Yes it is a warning about upcasting, I cast a list node (or list link) of
> type Link to list element of type T. Theoretically Link should always be a
> subobject of T in my code.

Saying more exactly, Link should be a subobject of T when I cast it, but not
always.

Reply via email to