print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
authorRichard Henderson <rth@cygnus.com>
Mon, 31 Aug 1998 09:55:30 +0000 (03:55 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 31 Aug 1998 09:55:30 +0000 (03:55 -0600)

        * 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

gcc/print-rtl.c

index 947a9b767c8767b0cd3b07a549a070704fdf81b4..0415308cd35b5d2727b1a42e87b9ca5df2a0ddd6 100644 (file)
@@ -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