From 7ab4f58a859ae4af7eb6a894e607f1edcf47fd47 Mon Sep 17 00:00:00 2001 From: Kaipeng Zhou Date: Tue, 7 Jul 2020 10:07:28 +0100 Subject: [PATCH] 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. --- gcc/c/c-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2