print-rtl.c (print_rtx): Don't print addresses when flag_dump_unnumbered.
authorGeoff Keating <geoffk@cygnus.com>
Sun, 20 Feb 2000 21:26:53 +0000 (21:26 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sun, 20 Feb 2000 21:26:53 +0000 (21:26 +0000)
* print-rtl.c (print_rtx): Don't print addresses when
flag_dump_unnumbered.

From-SVN: r32079

gcc/ChangeLog
gcc/print-rtl.c

index 85ce325691903b222b4f049e9dc7eaa6c9e9adb6..57917fa9ac644e4cfedcb70d4484bd20dcc501ac 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * sparc.c (sparc_output_scratch_registers): Mark parameter with
index 353022cf0e67e8d123bdc0e0d3244015912591c0..f6a4db135848ffe6674e6b5bacd6582fb7dfb275 100644 (file)
@@ -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