flow.c (dump_flow_info): Also print number of sets and whether or not the pseudo...
authorMichael Meissner <meissner@cygnus.com>
Wed, 13 May 1998 12:18:27 +0000 (12:18 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 13 May 1998 12:18:27 +0000 (06:18 -0600)
        * 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
gcc/flow.c

index e7a2a6bd49af08d13a641c64eca43cb82e416468..69a6dad289b020d65db99834ef8773824b7c5627 100644 (file)
@@ -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.
index 18bbf68231020dc817cfea3de1edcb38b7eb74f8..2598f8c3513318fbb8d17c8bd67177a4a32de8bb 100644 (file)
@@ -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)