print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK not yet set.

* print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
	not yet set.

From-SVN: r33156
This commit is contained in:
Richard Kenner 2000-04-14 22:20:38 +00:00 committed by Richard Kenner
parent 3ef1eef42a
commit 4c1545e441
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
not yet set.
* expr.c (reload.h): Now included.
(emit_block_move): Set volatile_ok when checking for movstr.
(emit_move_1): Check for replacements in addresses in multi-word case.

View File

@ -195,7 +195,9 @@ print_rtx (in_rtx)
else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BASIC_BLOCK)
{
basic_block bb = NOTE_BASIC_BLOCK (in_rtx);
fprintf (outfile, " [bb %d]", bb->index);
if (bb != 0)
fprintf (outfile, " [bb %d]", bb->index);
}
else
{