* print-rtl.c (print_rtx): Only print note line number as string
if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
* final.c (final_scan_insn): Do nothing for note line number 0.
From-SVN: r33997
+2000-05-18 Jakub Jelinek <jakub@redhat.com>
+
+ * print-rtl.c (print_rtx): Only print note line number as string
+ if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
+ * final.c (final_scan_insn): Do nothing for note line number 0.
+
2000-05-18 Jakub Jelinek <jakub@redhat.com>
* gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
}
break;
+ case 0:
+ break;
+
default:
if (NOTE_LINE_NUMBER (insn) <= 0)
abort ();
/* Print NOTE_INSN names rather than integer codes. */
case 'n':
- if (XINT (in_rtx, i) <= 0)
+ if (XINT (in_rtx, i) >= NOTE_INSN_BIAS
+ && XINT (in_rtx, i) < NOTE_INSN_MAX)
fprintf (outfile, " %s", GET_NOTE_INSN_NAME (XINT (in_rtx, i)));
else
fprintf (outfile, " %d", XINT (in_rtx, i));