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: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2004 03:26:04 -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 bangerth at dealii dot org 2004-03-23 03:26 -------
No, don't forget that this
---------------
int typedef T;
struct X {} typedef S;
---------------
is legal, so we can't report on the missing semicolon. Yes, that's
an abomination, but it's valid code anyway...
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14667