Message ID | f45c2b59-bf34-e4d4-856f-f013280c1159@redhat.com |
---|---|
State | New |
Headers | show |
Series | Don't display ranges for dead ssa-names. | expand |
2020-10-16 Andrew MacLeod <amacleod@redhat.com> * vr-values.c (dump_all_value_ranges): Only dump names which are still active. diff --git a/gcc/vr-values.c b/gcc/vr-values.c index da0b249278b..e917704d9bb 100644 --- a/gcc/vr-values.c +++ b/gcc/vr-values.c @@ -1999,7 +1999,7 @@ vr_values::dump_all_value_ranges (FILE *file) for (i = 0; i < num_vr_values; i++) { - if (vr_value[i]) + if (vr_value[i] && ssa_name (i)) { print_generic_expr (file, ssa_name (i)); fprintf (file, ": ");