https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421
--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> --- Author: jamborm Date: Tue Apr 17 08:48:41 2018 New Revision: 259432 URL: https://gcc.gnu.org/viewcvs?rev=259432&root=gcc&view=rev Log: Call expand_all_artificial_thunks in ipa-cp if necessary 2018-04-17 Martin Jambor <mjam...@suse.cz> PR ipa/85421 * ipa-cp.c (create_specialized_node): Call expand_all_artificial_thunks if necessary. testsuite/ * g++.dg/ipa/pr85421.C: New test. Added: trunk/gcc/testsuite/g++.dg/ipa/pr85421.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-cp.c trunk/gcc/testsuite/ChangeLog