diff options
-rw-r--r-- | gcc/cp/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/cp/parser.c | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1925891..38e8dae 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,8 @@ 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. 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 (); |