https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89693
--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> --- Te commit did not appear here because I made a pasto in the commit message, the fix landed as: URL: https://gcc.gnu.org/viewcvs?rev=270364&root=gcc&view=rev Log: Reorganize cgraph_node::clone_of_p 2019-04-15 Martin Jambor <[email protected]> PR ipa/pr89693 * cgraph.c (clone_of_p): Loop over clone chain for each step in the thunk chain. testsuite/ * g++.dg/ipa/pr89693.C: New test. Added: trunk/gcc/testsuite/g++.dg/ipa/pr89693.C Modified: trunk/gcc/ChangeLog trunk/gcc/cgraph.c trunk/gcc/testsuite/ChangeLog
