2013-09-02 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Sep 2013 19:28:01 +0000 (19:28 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Sep 2013 19:28:01 +0000 (19:28 +0000)
commitc55448e773b9b6137c299056137a56732366369f
tree47a031382aaf04ff140d1c3ab0844d0492fca18d
parent2d67c34cc4240dc4c6cb6c4aeafb64c30a911c8b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202184 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr58106.c [new file with mode: 0644]