parser.c
566 KB
-
re PR c++/29087 (More than 35000 switch cases crash cc1plus) · ddd039d5
PR c++/29087 * parser.c (cp_parser_labeled_statement): Return nothing. Do not take in_statement_expr and in_compound as arguments. Rename to cp_parser_label_for_labeled_statement. Parse only the label, not the statement. (cp_parser_statement): Parse the statement of a labeled-statement from here, using tail recursion. From-SVN: r117026
Steven Bosscher committed