2016-10-05 Richard Biener <rguenther@suse.de>
PR middle-end/77842
* genmatch.c (parser::parse_c_expr): Handle premature EOF.
From-SVN: r240774
+2016-10-05 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/77842
+ * genmatch.c (parser::parse_c_expr): Handle premature EOF.
+
2016-10-05 Pierre-Marie de Rodat <derodat@adacore.com>
* dwarf2out.c (dwarf2out_imported_module_or_decl): Move DWARF
else if (token->type == end
&& --opencnt == 0)
break;
+ else if (token->type == CPP_EOF)
+ fatal_at (token, "unexpected end of file");
/* This is a lame way of counting the number of statements. */
if (token->type == CPP_SEMICOLON)