summaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
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);