From: Kaipeng Zhou Date: Tue, 7 Jul 2020 09:07:28 +0000 (+0100) Subject: Pass correct parameters to c_parser_do_statement. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ab4f58a859ae4af7eb6a894e607f1edcf47fd47;p=gcc.git Pass correct parameters to c_parser_do_statement. gcc/c/ChangeLog: * c-parser.c (c_parser_statement_after_labels): Pass correct parameters to c_parser_do_statement. --- diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index 7bf91ef91aa..275b8a38255 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -6194,7 +6194,7 @@ c_parser_statement_after_labels (c_parser *parser, bool *if_p, c_parser_while_statement (parser, false, 0, if_p); break; case RID_DO: - c_parser_do_statement (parser, 0, false); + c_parser_do_statement (parser, false, 0); break; case RID_FOR: c_parser_for_statement (parser, false, 0, if_p);