From: Andrew MacLeod Date: Fri, 16 Oct 2020 19:13:24 +0000 (-0400) Subject: [PATCH] Don't display ranges for dead ssa-names. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e8d8f3b883cbcc19974f6b2438f54b05769a76c;p=gcc.git [PATCH] Don't display ranges for dead ssa-names. Dont show names that have been removed. * 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, ": ");