This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping^4: [patch] Fix PR c++/23118, ICE on invalid overloading


Volker Reichelt wrote:

Well, for PR 22604 Mark suggested to do the opposite: Mark a virtual
function as non-virtual. The end of the story so far is: With or without
Marks suggestion I get empty BINFOs, although for different testcases.

I think it would be safe to mark it as non-virtual for 22604 and mark as virtual for 23118, but I've not checked. I think the problem in 23118 is that the class gets marked as containing a virtual fn, but then doesn't actually have one. Whereas in 22604, this is a derived class problem, and the base still has a virtual fn.


I wanted to post an update on PR 22604, but maybe you as the BINFO expert
could have a look at both of the problems, then?

I'll take a look.


nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]