As pinskia suggested in a comment. Tested x86_64-pc-linux-gnu, applying to trunk.
commit fb5be680f7e1c545bc13ccf603dfd99c9fd707a2 Author: Jason Merrill <ja...@redhat.com> Date: Thu Aug 7 15:14:49 2014 -0400
PR c++/62043 * parser.c (c_parse_file): Change sorry to fatal_error. diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 7800467..fd2a48f 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -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 ();