diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-07-24 21:48:57 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-07-24 21:48:57 +0200 |
commit | 0281547a1d9637f60f93b361bce0b548df120962 (patch) | |
tree | df3d876f059f7fb387b7e35ada26649945aae468 | |
parent | 9fcaf0599124d58dbc96fec1f975fa142a8519cf (diff) | |
download | gcc-0281547a1d9637f60f93b361bce0b548df120962.zip gcc-0281547a1d9637f60f93b361bce0b548df120962.tar.gz gcc-0281547a1d9637f60f93b361bce0b548df120962.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/passes.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 897c605..46c32a7 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 374f6f7..f5791ac 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); } |