https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026
--- Comment #18 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Wed Oct 15 17:01:08 2014 New Revision: 216278 URL: https://gcc.gnu.org/viewcvs?rev=216278&root=gcc&view=rev Log: PR lto/62026 * lto/pr62026.C: New testcase. * cgraphclones.c (duplicate_thunk_for_node): Get body to have args to duplicate. * lto-streamer-out.c (lto_output): Handle correctly thunks that was born at WPA time. Added: trunk/gcc/testsuite/g++.dg/lto/pr62026.C Modified: trunk/gcc/ChangeLog trunk/gcc/cgraphclones.c trunk/gcc/lto-streamer-out.c trunk/gcc/testsuite/ChangeLog