projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92cae07
)
Pass correct parameters to c_parser_do_statement.
author
Kaipeng Zhou
<zhoukaipeng3@huawei.com>
Tue, 7 Jul 2020 09:07:28 +0000
(10:07 +0100)
committer
Richard Sandiford
<richard.sandiford@arm.com>
Tue, 7 Jul 2020 09:07:28 +0000
(10:07 +0100)
gcc/c/ChangeLog:
* c-parser.c (c_parser_statement_after_labels): Pass correct
parameters to c_parser_do_statement.
gcc/c/c-parser.c
patch
|
blob
|
history
diff --git
a/gcc/c/c-parser.c
b/gcc/c/c-parser.c
index 7bf91ef91aad4d190053f9c3a9de35e0614bbf0a..275b8a382558bf452956249764d8a67ec6a48f4d 100644
(file)
--- 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);