2017-01-13 Richard Biener <rguenther@suse.de>
* gimple-parser.c (c_parser_gimple_compound_statement): Handle
nops.
From-SVN: r244434
+2017-01-13 Richard Biener <rguenther@suse.de>
+
+ * gimple-parser.c (c_parser_gimple_compound_statement): Handle
+ nops.
+
2017-01-13 Richard Biener <rguenther@suse.de>
* gimple-parser.c (c_parser_gimple_postfix_expression): Parse
}
goto expr_stmt;
+ case CPP_SEMICOLON:
+ {
+ /* Empty stmt. */
+ location_t loc = c_parser_peek_token (parser)->location;
+ c_parser_consume_token (parser);
+ gimple *nop = gimple_build_nop ();
+ gimple_set_location (nop, loc);
+ gimple_seq_add_stmt (seq, nop);
+ break;
+ }
+
default:
expr_stmt:
c_parser_gimple_statement (parser, seq);