aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorMichael Meissner <meissner@cygnus.com>1997-09-04 19:15:50 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1997-09-04 19:15:50 +0000
commit3e28fe4442551e4d0014159ecbdb95521e278956 (patch)
tree992f01f05d3d923c09f01383c24bf63b264414f6 /gcc/print-rtl.c
parent417b0fa21150c9049decf23ffff6e5ccbaaac0d3 (diff)
downloadgcc-3e28fe4442551e4d0014159ecbdb95521e278956.zip
gcc-3e28fe4442551e4d0014159ecbdb95521e278956.tar.gz
gcc-3e28fe4442551e4d0014159ecbdb95521e278956.tar.bz2
For phases starting with flow, print basic block information when doing dumps
From-SVN: r15082
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 1073288..bb4ee0d 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -345,3 +345,16 @@ print_rtl (outf, rtx_first)
print_rtx (rtx_first);
}
}
+
+/* Like print_rtx, except specify a file. */
+
+void
+print_rtl_single (outf, x)
+ FILE *outf;
+ rtx x;
+{
+ outfile = outf;
+ sawclose = 0;
+ print_rtx (x);
+ putc ('\n', outf);
+}