summaryrefslogtreecommitdiff
path: root/gcc/tree-complex.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-23 21:50:14 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-23 21:50:14 +0000
commit10c7b13c10d3eed3891847b6b7dcd1e68a52beb4 (patch)
tree261b06ee445b2281d533716e76dfb91a7c0a16fd /gcc/tree-complex.c
parent729d4a82793e63a16135373d6375e2831107b852 (diff)
downloadgcc-10c7b13c10d3eed3891847b6b7dcd1e68a52beb4.tar.gz
PR tree-optimization/22623
* tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102315 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-complex.c')
-rw-r--r--gcc/tree-complex.c2
1 files changed, 1 insertions, 1 deletions
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);