aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)