This is the mail archive of the
mailing list for the GCC project.
Re: [C++ PATCH] vfunc overrider simplification
On 8/25/19 2:35 PM, Jason Merrill wrote:
On Sat, Aug 24, 2019 at 6:43 PM Nathan Sidwell <firstname.lastname@example.org
On 8/23/19 3:24 PM, Nathan Sidwell wrote:
> In fixing a vfunc override bug on the modules branch, I noticed that
> check_for_override can simply check IDENTIFIER_VIRTUAL_P -- the dtor
> identifier and those for conversion operators will have it set
> correctly. (there a multiple conversion operator identifiers,
> can only be overriding the one with the same return type, so
that turns out to be untrue -- the conversion operator table
distinguishes between different typedefs of the same type.
Hmm, that seems like a bug.
It is by design. That way we can propagate the form of the type to the