+2009-01-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/39028
+ * parser.c (cp_parser_already_scoped_statement): Handle __label__
+ declarations.
+
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/33465
/* Avoid calling cp_parser_compound_statement, so that we
don't create a new scope. Do everything else by hand. */
cp_parser_require (parser, CPP_OPEN_BRACE, "%<{%>");
+ /* If the next keyword is `__label__' we have a label declaration. */
+ while (cp_lexer_next_token_is_keyword (parser->lexer, RID_LABEL))
+ cp_parser_label_declaration (parser);
+ /* Parse an (optional) statement-seq. */
cp_parser_statement_seq_opt (parser, NULL_TREE);
cp_parser_require (parser, CPP_CLOSE_BRACE, "%<}%>");
}