https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117993
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Confirmed. Fails with 20240727 but worked with 20240710 . I suspect r15-2117-g313afcfdabeab3 (which is in the time frame). ``` .... and qualified lookup finds nothing at template definition time, then we know it'll find nothing at instantiation time (unless the current instantiation has dependent bases). ``` I suspect for some reason we think the current instantiation does not have a dependent base for some reason.