diff options
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 8c6a68a..0d8c82b 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -434,7 +434,7 @@ announce_function (tree decl) fprintf (stderr, " %s", lang_hooks.decl_printable_name (decl, 2)); fflush (stderr); pp_needs_newline (global_dc->printer) = true; - diagnostic_set_last_function (global_dc); + diagnostic_set_last_function (global_dc, (diagnostic_info *) NULL); } } |