Commit 4a53d90b by Jason Merrill Committed by Jason Merrill

re PR c++/62043 (GCC hangs / aborts / double free or corruption (!prev) on invalid input)

	PR c++/62043
	* parser.c (c_parse_file): Change sorry to fatal_error.

From-SVN: r213732
parent 2e8e74c0
2014-08-07 Jason Merrill <jason@redhat.com>
PR c++/62043
* parser.c (c_parse_file): Change sorry to fatal_error.
PR c++/61959
* semantics.c (cxx_eval_bare_aggregate): Handle POINTER_PLUS_EXPR.
......
......@@ -31942,10 +31942,7 @@ c_parse_file (void)
static bool already_called = false;
if (already_called)
{
sorry ("inter-module optimizations not implemented for C++");
return;
}
fatal_error ("inter-module optimizations not implemented for C++");
already_called = true;
the_parser = cp_parser_new ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment