summaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-13 10:45:07 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-13 10:45:07 +0000
commit43422b1cdaaba4a45c67e8a26e09158689988669 (patch)
tree4cdc04925cbd1bb62f52bedb9a8b0c12f9032253 /gcc/cfg.c
parent78c3d8630d22da5cc73d2b36a6da5f94324928ca (diff)
downloadgcc-43422b1cdaaba4a45c67e8a26e09158689988669.tar.gz
* cfg.c (dump_flow_info): Don't dump pseudo info after reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92081 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index c469661edc0..b36a96f812d 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -517,7 +517,8 @@ dump_flow_info (FILE *file)
basic_block bb;
static const char * const reg_class_names[] = REG_CLASS_NAMES;
- if (reg_n_info)
+ /* There are no pseudo registers after reload. Don't dump them. */
+ if (reg_n_info && !reload_completed)
{
int max_regno = max_reg_num ();
fprintf (file, "%d registers.\n", max_regno);