diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-25 23:45:42 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-25 23:45:42 +0000 |
commit | 71caadc045ef9387efaa189404bba29d083a1771 (patch) | |
tree | 5f11cf1c6b61122849435f2ab564e45e67595e64 /gcc/print-rtl.c | |
parent | e3e7d1c2029a646e0edad36cc7d3ad64dcab82bd (diff) | |
download | gcc-71caadc045ef9387efaa189404bba29d083a1771.tar.gz |
Flow rewrite to use basic block structures and edge lists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25450 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r-- | gcc/print-rtl.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index d3e829ad847..e72a77bf5e9 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -22,9 +22,9 @@ Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "rtl.h" -#include "bitmap.h" #include "real.h" #include "flags.h" +#include "basic-block.h" /* How to print out a register name. @@ -170,6 +170,14 @@ print_rtx (in_rtx) break; } + if (i == 3 && GET_CODE (in_rtx) == NOTE + && NOTE_LINE_NUMBER (in_rtx) == NOTE_INSN_BASIC_BLOCK) + { + basic_block bb = NOTE_BASIC_BLOCK (in_rtx); + fprintf (outfile, " [bb %d]", bb->index); + break; + } + if (XSTR (in_rtx, i) == 0) fputs (dump_for_graph ? " \\\"\\\"" : " \"\"", outfile); else |