summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-complex.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 56b1d933023..45967b5f340 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-23 Richard Henderson <rth@redhat.com>
+
+ PR tree-optimization/22623
+ * tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol.
+
2005-07-23 Giovanni Bajo <giovannibajo@libero.it>
PR target/22577
diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c
index 63295fe4016..a675f0aa136 100644
--- a/gcc/tree-complex.c
+++ b/gcc/tree-complex.c
@@ -517,7 +517,7 @@ set_component_ssa_name (tree ssa_name, bool imag_p, tree value)
&& !DECL_IGNORED_P (SSA_NAME_VAR (ssa_name)))
{
comp = get_component_var (SSA_NAME_VAR (ssa_name), imag_p);
- SSA_NAME_VAR (value) = comp;
+ replace_ssa_name_symbol (value, comp);
}
VEC_replace (tree, complex_ssa_name_components, ssa_name_index, value);