aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorSameera Deshpande <sameera.deshpande@linaro.org>2018-10-30 16:29:37 +0530
committerSameera Deshpande <sameerad@gcc.gnu.org>2018-10-30 16:29:37 +0530
commit839338295425bb15df21f3f06bf7751dbb4553dd (patch)
tree1c01610e9bbf718381f21bd1b4be20b42dd27d42 /gcc/config
parentbe7b071e9e99c4958acfa0f9c8dab79cd30d2176 (diff)
downloadgcc-839338295425bb15df21f3f06bf7751dbb4553dd.zip
gcc-839338295425bb15df21f3f06bf7751dbb4553dd.tar.gz
gcc-839338295425bb15df21f3f06bf7751dbb4553dd.tar.bz2
Fixes bug 87330 by invoking df_note_add_problem to recompute REG_DEAD and REG_UNUSED notes before analysis.
From-SVN: r265618
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/aarch64/falkor-tag-collision-avoidance.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/aarch64/falkor-tag-collision-avoidance.c b/gcc/config/aarch64/falkor-tag-collision-avoidance.c
index 518954f..1e7664b 100644
--- a/gcc/config/aarch64/falkor-tag-collision-avoidance.c
+++ b/gcc/config/aarch64/falkor-tag-collision-avoidance.c
@@ -805,6 +805,7 @@ execute_tag_collision_avoidance ()
df_set_flags (DF_RD_PRUNE_DEAD_DEFS);
df_chain_add_problem (DF_UD_CHAIN);
df_compute_regs_ever_live (true);
+ df_note_add_problem ();
df_analyze ();
df_set_flags (DF_DEFER_INSN_RESCAN);