forwarded 406324 http://gcc.gnu.org/PR30425
tags 406324 + upstream
thanks

* Alexei Sheplyakov <[EMAIL PROTECTED]> [2007-01-10 15:47]:
> $ g++ -O0 -c iceme2.cpp
> iceme2.cpp: In function ‘A::f B::g(const T&)’:
> iceme2.cpp:8: internal compiler error: in type_dependent_expression_p, at 
> cp/pt.c:12739

Thanks, I've forwarded it.  Note that GCC 4.2 rejects this code with:

t.cc: In function 'A::f B::g(const T&)':
t.cc:3: error: argument dependent lookup finds 'struct A::f'
t.cc:8: error:   in call to 'f'

-- 
Martin Michlmayr
http://www.cyrius.com/

Reply via email to