diff options
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r-- | gcc/cfg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c index 432cea5a1b4..a0f326a5db7 100644 --- a/gcc/cfg.c +++ b/gcc/cfg.c @@ -471,14 +471,14 @@ check_bb_profile (basic_block bb, FILE * file) void dump_flow_info (FILE *file) { - int i; basic_block bb; /* There are no pseudo registers after reload. Don't dump them. */ if (reg_n_info && !reload_completed) { - fprintf (file, "%d registers.\n", max_regno); - for (i = FIRST_PSEUDO_REGISTER; i < max_regno; i++) + unsigned int i, max = max_reg_num (); + fprintf (file, "%d registers.\n", max); + for (i = FIRST_PSEUDO_REGISTER; i < max; i++) if (REG_N_REFS (i)) { enum reg_class class, altclass; |