Check that clones of edges exist during IPA-CP
authorMartin Jambor <mjambor@suse.cz>
Fri, 20 Apr 2018 09:19:39 +0000 (11:19 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 20 Apr 2018 09:19:39 +0000 (11:19 +0200)
commit5fc1b92025fa55f6de9f93bf02df424a17802e55
tree5446541e8d006b47acfa69a5dc29b904ff97bf8d
parente00e62761dbd91200af4e448ff13b598d918049f
Check that clones of edges exist during IPA-CP

2018-04-20  Martin Jambor  <mjambor@suse.cz>

ipa/85447
* ipa-cp.c (create_specialized_node): Check that clones of
self-recursive edges exist during IPA-CP.

testsuite/
* g++.dg/ipa/pr85447.C: New file.
* gcc.dg/ipa/ipcp-self-recursion-1.c: Likewise.

From-SVN: r259517
gcc/ChangeLog
gcc/ipa-cp.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr85447.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/ipa/ipcp-self-recursion-1.c [new file with mode: 0644]