c++/5756: ICE on bad typedef

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Sat Feb 23 15:45:00 GMT 2002

Synopsis: ICE on bad typedef

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Feb 23 15:20:34 2002
    Problem reproduced with gcc 3.0.4.
    With gcc 3.1, no ICE occurs, but the following compilation
    error occurs:
    bug1.cpp:13: `template<class IteratorT> class
       KK::grammar_filter<KK::cpp_lexer_phase_1>::iterator' used without template
    bug1.cpp:13: using `typename' outside of template
    bug1.cpp:13: ISO C++ forbids declaration of `iterator' with no type


More information about the Gcc-bugs mailing list