diff options
| author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-20 21:26:53 +0000 |
|---|---|---|
| committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-20 21:26:53 +0000 |
| commit | dbbc6ff05cf50a55d2587b5de1df4c356ba35c9b (patch) | |
| tree | bb1c7a0ebbfb06b1d7ef5419cd1c725917026c82 /gcc/print-rtl.c | |
| parent | 779433ea2643c2077517a3e13bb4a2808ce4c61e (diff) | |
| download | ppe42-gcc-dbbc6ff05cf50a55d2587b5de1df4c356ba35c9b.tar.gz ppe42-gcc-dbbc6ff05cf50a55d2587b5de1df4c356ba35c9b.zip | |
* print-rtl.c (print_rtx): Don't print addresses when
flag_dump_unnumbered.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32079 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
| -rw-r--r-- | gcc/print-rtl.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index 353022cf0e6..f6a4db13584 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 |

