https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026
--- Comment #15 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Sun Oct 5 02:37:31 2014 New Revision: 215894 URL: https://gcc.gnu.org/viewcvs?rev=215894&root=gcc&view=rev Log: PR lto/62026 * g++.dg/lto/pr62026.C: New testcase. * lto-streamer-out.c (lto_output): Handle thunks correctly. * cgraphclones.c (duplicate_thunk_for_node): Get thunk's arguments. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/lto/pr62026.C Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/cgraphclones.c branches/gcc-4_9-branch/gcc/lto-streamer-out.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog