aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorGeoff Keating <geoffk@cygnus.com>2000-02-20 21:26:53 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2000-02-20 21:26:53 +0000
commitf76ca83c3cd98645c0b79bb0cf3799f07483ed7c (patch)
treebb1c7a0ebbfb06b1d7ef5419cd1c725917026c82 /gcc/print-rtl.c
parentfbd039b21b559b4c2c8caf8a5a34e003ac91a5b5 (diff)
downloadgcc-f76ca83c3cd98645c0b79bb0cf3799f07483ed7c.zip
gcc-f76ca83c3cd98645c0b79bb0cf3799f07483ed7c.tar.gz
gcc-f76ca83c3cd98645c0b79bb0cf3799f07483ed7c.tar.bz2
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
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 353022c..f6a4db1 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -164,15 +164,21 @@ print_rtx (in_rtx)
if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_EH_REGION_BEG
|| 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;
}
else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_BEG
|| NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BLOCK_END)
{
fprintf (outfile, " ");
- fprintf (outfile, HOST_PTR_PRINTF,
- (char *) NOTE_BLOCK (in_rtx));
+ if (flag_dump_unnumbered)
+ fprintf (outfile, "#");
+ else
+ fprintf (outfile, HOST_PTR_PRINTF,
+ (char *) NOTE_BLOCK (in_rtx));
sawclose = 1;
}
else if (NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_RANGE_START