https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89960
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-04-04
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually I don't think it is warning about the conversion to base but rather it
is the conversion of the pointer to member functions that is being warned
about.
The way Pointer to member functions are implemented is a struct. But
void(base::)() and void(derived::)() are two different structs and are not
considered the same aliasing sets. This needs to be fixed.
Yes the warning is still wrong but it is just a slight difference on what the
issue really is.