From 6fc4610b8c14995d38b07c18c34e109de786109d Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 13 May 1998 12:18:27 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/flow.c | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e7a2a6bd49a..69a6dad289b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Wed May 13 12:54:19 1998 Michael Meissner + * 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 18bbf682310..2598f8c3513 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) -- 2.30.2