------- Additional Comments From reichelt at gcc dot gnu dot org 2005-09-21 15:12 ------- This is now fixed in GCC 3.4.5.
The new testcase g++.dg/lookup/error1.C will be added to mainline and the 4.0 branch. In the meantime I'll keep the PR open. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17609