http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46731

--- Comment #2 from Johannes Schaub <schaub-johannes at web dot de> 2010-11-30 
19:21:57 UTC ---
(In reply to comment #1)
> Actually it is not valid but for a different reason than what GCC gives.  See
> PR 24163, and PR 15272 for the reasons why g() should not be found when doing
> the lookup.

"g" is not found by looking into the base, but by doing unqualified lookup in
the lexically enclosing nesting class scope "a". This way "g" is still found,
even though the dependent base class isn't looked into.

Reply via email to