Fix simdclones
authorJan Hubicka <jh@suse.cz>
Mon, 26 Oct 2020 13:10:45 +0000 (14:10 +0100)
committerJan Hubicka <jh@suse.cz>
Mon, 26 Oct 2020 13:11:35 +0000 (14:11 +0100)
commit783dc02d89712f5219093d33ad7f08e1509a2134
tree1db4b583f7cff5d77efdc88773e79d57f23800a5
parent2d5aad691f5bd605cfc27ce16a1f2d023cd21f75
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.
gcc/cgraphclones.c
gcc/cgraphunit.c
gcc/ipa-inline-transform.c
gcc/symtab.c
gcc/testsuite/gcc.c-torture/compile/pr97576.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c