flow.c (flow_loop_dump): Do not display insn UIDs if this is not an RTL basic block.

* flow.c (flow_loop_dump): Do not display insn UIDs if this is not
	an RTL basic block.

From-SVN: r45201
This commit is contained in:
Diego Novillo 2001-08-27 18:11:27 +00:00 committed by Diego Novillo
parent 278ed2183f
commit 95005c210a
2 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2001-08-27 Diego Novillo <dnovillo@redhat.com>
* flow.c (flow_loop_dump): Do not display insn UIDs if this is not
an RTL basic block.
2001-08-27 Richard Henderson <rth@redhat.com>
* function.c (expand_function_end): Don't init arg_pointer_save_area.

View File

@ -9176,11 +9176,17 @@ flow_loop_dump (loop, file, loop_dump_aux, verbose)
if (! loop || ! loop->header)
return;
if (loop->first->head && loop->last->end)
fprintf (file, ";;\n;; Loop %d (%d to %d):%s%s\n",
loop->num, INSN_UID (loop->first->head),
INSN_UID (loop->last->end),
loop->shared ? " shared" : "",
loop->invalid ? " invalid" : "");
else
fprintf (file, ";;\n;; Loop %d:%s%s\n", loop->num,
loop->shared ? " shared" : "",
loop->invalid ? " invalid" : "");
fprintf (file, ";; header %d, latch %d, pre-header %d, first %d, last %d\n",
loop->header->index, loop->latch->index,
loop->pre_header ? loop->pre_header->index : -1,