------- Comment #3 from mmitchel at gcc dot gnu dot org 2006-02-18 09:51 ------- The reason that the first and last examples are accepted is that, were there dependent base classes, we would have no way of knowing whether or not those base classes might declare a virtual function for which this function was an override. We will detect the problem at template instantiation time. So, diagnosing those examples is almost a feature request, rather than a bug fix.
I am testing a patch for the ICE. -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26122