aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <meissner@cygnus.com>1998-05-13 12:18:27 +0000
committerJeff Law <law@gcc.gnu.org>1998-05-13 06:18:27 -0600
commit6fc4610b8c14995d38b07c18c34e109de786109d (patch)
treecc012eb02dc988e1a1902d75f597497fe8850a6d
parent21622cafab2338b8a92d804a649cf90967faa310 (diff)
downloadgcc-6fc4610b8c14995d38b07c18c34e109de786109d.zip
gcc-6fc4610b8c14995d38b07c18c34e109de786109d.tar.gz
gcc-6fc4610b8c14995d38b07c18c34e109de786109d.tar.bz2
flow.c (dump_flow_info): Also print number of sets and whether or not the pseudo is a user variable.
* flow.c (dump_flow_info): Also print number of sets and whether or not the pseudo is a user variable. From-SVN: r19710
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/flow.c5
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e7a2a6b..69a6dad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
+ * flow.c (dump_flow_info): Also print number of sets and
+ whether or not the pseudo is a user variable.
+
* flow.c (reg_n_max): New global variable.
* regclass.c (allocate_reg_info): Keep reg_n_max up to date.
Delete regno_max variable.
diff --git a/gcc/flow.c b/gcc/flow.c
index 18bbf68..2598f8c 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -3039,6 +3039,11 @@ dump_flow_info (file)
i, REG_N_REFS (i), REG_LIVE_LENGTH (i));
if (REG_BASIC_BLOCK (i) >= 0)
fprintf (file, " in block %d", REG_BASIC_BLOCK (i));
+ if (REG_N_SETS (i))
+ fprintf (file, "; set %d time%s", REG_N_SETS (i),
+ (REG_N_SETS (i) == 1) ? "" : "s");
+ if (REG_USERVAR_P (regno_reg_rtx[i]))
+ fprintf (file, "; user var");
if (REG_N_DEATHS (i) != 1)
fprintf (file, "; dies in %d places", REG_N_DEATHS (i));
if (REG_N_CALLS_CROSSED (i) == 1)