------- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-22 21:03 ------- The issue comes down to if bar is dependent here and if so is baz's base.
The namelookup rules for being dependent are weird and hard to understand really and actually changes namelookup in some cases so we have to go what the standard says. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34184