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: [C++ PATCH] Fix ICE in check_dtor_name (PR c++/40373)


Jakub Jelinek wrote:
Fixed by checking for error_mark_node, bootstrapped/regtested on
x86_64-linux, ok for trunk?

OK for trunk, 4.3 and 4.4, except that I don't think those are the right errors to give for that testcase; if we were to instantiate foo with one of the As, that ought to be well-formed IMO. So the ambiguity error is incorrect; we should only be giving the "doesn't match" error. I'm not suggesting you fix that now, just that the testcase shouldn't suggest that those errors are desired.


I should really get around to rewriting the destructor lookup standardese.

Jason


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