https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68851
--- Comment #13 from Martin Jambor <jamborm at gcc dot gnu.org> --- Author: jamborm Date: Fri Jan 8 12:30:56 2016 New Revision: 232159 URL: https://gcc.gnu.org/viewcvs?rev=232159&root=gcc&view=rev Log: [PR 68851] Do not collect thunks in collect_callers 2016-01-08 Martin Jambor <mjam...@suse.cz> PR ipa/68851 gcc/ * cgraph.c (collect_callers_of_node_1): Do not collect thunks. * cgraph.h (cgraph_node): Change comment of collect_callers. testsuite/ * g++.dg/ipa/pr68851.C: New test. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/ipa/pr68851.C Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/cgraph.c branches/gcc-5-branch/gcc/cgraph.h branches/gcc-5-branch/gcc/testsuite/ChangeLog