Commit f76ca83c by Geoff Keating Committed by Geoffrey Keating

print-rtl.c (print_rtx): Don't print addresses when flag_dump_unnumbered.

* print-rtl.c (print_rtx): Don't print addresses when
flag_dump_unnumbered.

From-SVN: r32079
parent fbd039b2
2000-02-20 Geoff Keating <geoffk@cygnus.com>
* print-rtl.c (print_rtx): Don't print addresses when
flag_dump_unnumbered.
2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.c (sparc_output_scratch_registers): Mark parameter with * sparc.c (sparc_output_scratch_registers): Mark parameter with
......
...@@ -164,15 +164,21 @@ print_rtx (in_rtx) ...@@ -164,15 +164,21 @@ print_rtx (in_rtx)
if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_BEG if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_BEG
|| NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_END) || NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_END)
{ {
fprintf (outfile, " %d", NOTE_EH_HANDLER (in_rtx)); if (flag_dump_unnumbered)
fprintf (outfile, " #");
else
fprintf (outfile, " %d", NOTE_EH_HANDLER (in_rtx));
sawclose = 1; sawclose = 1;
} }
else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_BEG else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_BEG
|| NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_END) || NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_END)
{ {
fprintf (outfile, " "); fprintf (outfile, " ");
fprintf (outfile, HOST_PTR_PRINTF, if (flag_dump_unnumbered)
(char *) NOTE_BLOCK (in_rtx)); fprintf (outfile, "#");
else
fprintf (outfile, HOST_PTR_PRINTF,
(char *) NOTE_BLOCK (in_rtx));
sawclose = 1; sawclose = 1;
} }
else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_RANGE_START else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_RANGE_START
......
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