------- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-18 21:35 ------- This was caused by: PR c++/21592 * pt.c (build_non_dependent_expr): Don't wrap a COMPONENT_REF with already looked up member functions. Assert we're not returning a NON_DEPENDENT_EXPR with unknown type. * typeck.c (finish_class_member_access_expr): We can get non-template-id-expr baselinks. If the lookup finds a baselink, remember it even inside templates.
The issue here is that with -fpremissive if we change the behavior, we will then have a rejects valid. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nathan at gcc dot gnu dot | |org Severity|normal |trivial http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24425