diff options
Diffstat (limited to 'contrib/gcc/cp/lex.c')
-rw-r--r-- | contrib/gcc/cp/lex.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/contrib/gcc/cp/lex.c b/contrib/gcc/cp/lex.c index 0287f70..61e34a8 100644 --- a/contrib/gcc/cp/lex.c +++ b/contrib/gcc/cp/lex.c @@ -263,8 +263,6 @@ cxx_init_options () void cxx_finish () { - if (flag_gnu_xref) - GNU_xref_end (errorcount + sorrycount); c_common_finish (); } @@ -733,8 +731,6 @@ cxx_init (filename) init_cp_pragma (); - if (flag_gnu_xref) - GNU_xref_begin (filename); init_repo (filename); return filename; @@ -931,9 +927,6 @@ extract_interface_info () interface_only = finfo->interface_only; interface_unknown = finfo->interface_unknown; - - /* This happens to be a convenient place to put this. */ - if (flag_gnu_xref) GNU_xref_file (input_filename); } /* Return nonzero if S is not considered part of an @@ -1372,7 +1365,8 @@ do_scoped_id (token, parsing) id = IDENTIFIER_GLOBAL_VALUE (token); if (parsing && yychar == YYEMPTY) yychar = yylex (); - if (! id) + if (!id || (TREE_CODE (id) == FUNCTION_DECL + && DECL_ANTICIPATED (id))) { if (processing_template_decl) { |