This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14667] [3.5 Regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2004 01:31:53 -0000
- Subject: [Bug c++/14667] [3.5 Regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name
- References: <20040321101915.14667.wanderer@rsu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-03-23 01:31 -------
The ICE appears with my patch reworking the invalid typename diagnostic, but
it's something latent: somewhere we should diagnose the missing ';' when we see
the 'typedef' keyword. Instead, we get on and make "Class1<Class2>" go through
the invalid typename diagnostic function.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14667