This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29087] [4.1/4.2 Regression] More than 35000 switch cases crash cc1plus
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2006 15:23:42 -0000
- Subject: [Bug c++/29087] [4.1/4.2 Regression] More than 35000 switch cases crash cc1plus
- References: <bug-29087-12787@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from steven at gcc dot gnu dot org 2006-09-15 15:23 -------
Re. comment #1 Yes, it is a _Recursive_ descent parser after all...
Probably the only solution is to parse the label and not descend. This is what
the C front end does, see c_parser_statement.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29087