From 0281547a1d9637f60f93b361bce0b548df120962 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Mon, 24 Jul 2017 21:48:57 +0200 Subject: [PATCH] passes: Print a header in emergency_dump_function Currently the emergency dump has no separation whatsoever from any previous output in the dump file, making it harder than necessary to find. * passes.c (emergency_dump_function): Print some empty lines and a header before the RTL dump. From-SVN: r250481 --- gcc/ChangeLog | 5 +++++ gcc/passes.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 897c605701d..46c32a7df26 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-24 Segher Boessenkool + + * passes.c (emergency_dump_function): Print some empty lines and a + header before the RTL dump. + 2017-07-24 Segher Boessenkool * cfgrtl.c (rtl_dump_bb): Don't call NEXT_INSN on NULL. diff --git a/gcc/passes.c b/gcc/passes.c index 374f6f77897..f5791ac806a 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1796,6 +1796,7 @@ emergency_dump_function () if (!dump_file || !cfun) return; fnotice (stderr, "dump file: %s\n", dump_file_name); + fprintf (dump_file, "\n\n\nEMERGENCY DUMP:\n\n"); execute_function_dump (cfun, current_pass); } -- 2.30.2