projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5849257
)
[PATCH] Don't display ranges for dead ssa-names.
author
Andrew MacLeod
<amacleod@redhat.com>
Fri, 16 Oct 2020 19:13:24 +0000
(15:13 -0400)
committer
Andrew MacLeod
<amacleod@redhat.com>
Fri, 16 Oct 2020 19:13:24 +0000
(15:13 -0400)
Dont show names that have been removed.
* vr-values.c (dump_all_value_ranges): Only dump names which are
still active.
gcc/vr-values.c
patch
|
blob
|
history
diff --git
a/gcc/vr-values.c
b/gcc/vr-values.c
index da0b249278b8ec19a0f034c3437fe7a503fadc0e..e917704d9bb5b99f3aa8722ad3ea83e22423f5ff 100644
(file)
--- 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, ": ");