summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/passes.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 897c605701d..46c32a7df26 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2017-07-24 Segher Boessenkool <segher@kernel.crashing.org>
+ * passes.c (emergency_dump_function): Print some empty lines and a
+ header before the RTL dump.
+
+2017-07-24 Segher Boessenkool <segher@kernel.crashing.org>
+
* cfgrtl.c (rtl_dump_bb): Don't call NEXT_INSN on NULL.
2017-07-24 Wilco Dijkstra <wdijkstr@arm.com>
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);
}