re PR tree-optimization/22623 (type mismatch between an SSA_NAME and its symbol)

PR tree-optimization/22623
        * tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol.

From-SVN: r102315
This commit is contained in:
Richard Henderson 2005-07-23 14:50:14 -07:00 committed by Richard Henderson
parent 28f155be0a
commit db753fa1cb
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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);