This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14283] [3.5 regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2004 15:52:44 -0000
- Subject: [Bug c++/14283] [3.5 regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name
- References: <20040225013703.14283.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14283