re PR ipa/58106 (ICE: in ipa_edge_duplication_hook, at ipa-prop.c:2839)
authorMartin Jambor <mjambor@suse.cz>
Mon, 2 Sep 2013 19:28:01 +0000 (21:28 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 2 Sep 2013 19:28:01 +0000 (21:28 +0200)
commit2fd0985c70240012e8b0b63a9cafe3b241dcddc9
tree47a031382aaf04ff140d1c3ab0844d0492fca18d
parent91bd4114a73ca69e5ce3d904282b402b9f2128d3
re PR ipa/58106 (ICE: in ipa_edge_duplication_hook, at ipa-prop.c:2839)

2013-09-02  Martin Jambor  <mjambor@suse.cz>

PR ipa/58106
* ipa-prop.c (ipa_edge_duplication_hook): Always put new rdesc to the
linked list.  When finding the correct duplicate, also consider also
the caller in additon to its inlined_to node.

testsuite/
* gcc.dg/ipa/pr58106.c: New test.

From-SVN: r202184
gcc/ChangeLog
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr58106.c [new file with mode: 0644]