diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 56b1d9330237..45967b5f3403 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-07-23 Richard Henderson + + PR tree-optimization/22623 + * tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol. + 2005-07-23 Giovanni Bajo PR target/22577 diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c index 63295fe40164..a675f0aa136d 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);