diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-03 19:05:59 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-03 19:05:59 +0000 |
commit | b58a07c79c7f4ab711b21c186534f70a2517010f (patch) | |
tree | af09a6a8cf6e17090ece58c1952b50a02f3eaba3 /gcc/cfg.c | |
parent | b15d5640bd43cb163ef0d069853362c937abf1f2 (diff) | |
download | gcc-b58a07c79c7f4ab711b21c186534f70a2517010f.tar.gz |
* cfg.c (dump_flow_info): Use max_reg_num, not max_regno.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99175 138bc75d-0d04-0410-961f-82ee72b054a4
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; |