Commit da2ec29a by Richard Henderson Committed by Jeff Law

print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.

�
        * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
        * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
        and NOTE_INSN_RANGE_END specially.
        (reemit_notes): Likewise.

From-SVN: r22126
parent f3b1700b
......@@ -124,7 +124,8 @@ print_rtx (in_rtx)
if (i == 3 && GET_CODE (in_rtx) == NOTE
&& (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_RANGE_START
|| NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_RANGE_END))
|| NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_RANGE_END
|| NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_LIVE))
{
indent += 2;
if (!sawclose)
......@@ -134,16 +135,6 @@ print_rtx (in_rtx)
break;
}
if (i == 3 && GET_CODE (in_rtx) == NOTE
&& NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_LIVE)
{
if (XBITMAP (in_rtx, i) == NULL)
fprintf (outfile, " {null}");
else
bitmap_print (outfile, XBITMAP (in_rtx, i), " {", "}");
sawclose = 0;
}
if (XSTR (in_rtx, i) == 0)
fprintf (outfile, " \"\"");
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment