[Bug c++/14283] [3.5 regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name

mark at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 19 16:30:00 GMT 2004


------- Additional Comments From mark at codesourcery dot com  2004-03-19 16:30 -------
Subject: Re:  [3.5 regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name

reichelt at gcc dot gnu dot org wrote:

>------- Additional Comments From reichelt at gcc dot gnu dot org  2004-03-19 15:52 -------
>In 3.4.0 and mainline we get the message
>
>x.cc:5: error: type `A' is not derived from type `C< <template-parameter-1-1> >'
>x.cc:5: error: ISO C++ forbids declaration of `INVALID' with no type
>x.cc:5: error: expected `;' before '<' token
>
>for the testcase in comment #2.
>So your patch should be an improvement, Giovanni.
>
>  
>
We don't need this for 3.4.0, and I'm not reviewing 3.5 patches at the 
moment, due to focusing on 3.4.  So, ping me about this after 3.4.0 is 
out, or talk to Jason.



-- 


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



More information about the Gcc-bugs mailing list