This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29087] [4.1/4.2 Regression] More than 35000 switch cases crash cc1plus



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]