aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2020-10-26 14:10:45 +0100
committerJan Hubicka <jh@suse.cz>2020-10-26 14:11:35 +0100
commit783dc02d89712f5219093d33ad7f08e1509a2134 (patch)
tree1db4b583f7cff5d77efdc88773e79d57f23800a5 /gcc/tree-ssa-structalias.c
parent2d5aad691f5bd605cfc27ce16a1f2d023cd21f75 (diff)
downloadgcc-783dc02d89712f5219093d33ad7f08e1509a2134.zip
gcc-783dc02d89712f5219093d33ad7f08e1509a2134.tar.gz
gcc-783dc02d89712f5219093d33ad7f08e1509a2134.tar.bz2
Fix simdclones
gcc/ChangeLog: PR ipa/97576 * cgraphclones.c (cgraph_node::materialize_clone): Clear stmt references. * cgraphunit.c (mark_functions_to_output): Do not clear them here. * ipa-inline-transform.c (inline_transform): Clear stmt references. * symtab.c (symtab_node::clear_stmts_in_references): Make recursive for clones. * tree-ssa-structalias.c (ipa_pta_execute): Do not clear references. gcc/testsuite/ChangeLog: PR ipa/97576 * gcc.c-torture/compile/pr97576.c: New test.
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r--gcc/tree-ssa-structalias.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 9bac06f..a4832b7 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -8138,10 +8138,6 @@ ipa_pta_execute (void)
from = constraints.length ();
}
- /* FIXME: Clone materialization is not preserving stmt references. */
- FOR_EACH_DEFINED_FUNCTION (node)
- node->clear_stmts_in_references ();
-
/* Build the constraints. */
FOR_EACH_DEFINED_FUNCTION (node)
{