[PR 68851] Do not collect thunks in collect_callers
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2015 13:07:15 +0000 (13:07 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2015 13:07:15 +0000 (13:07 +0000)
commitf6bd593a94b0244afab4e6900de26fb17b399dfe
tree062c93856d8ecd5b8d3539d305d0f33b8f624de8
parent61d7a1932fe1e0c525b9187c423cb5ffff9e594d
[PR 68851] Do not collect thunks in collect_callers

2015-12-15  Martin Jambor  <mjambor@suse.cz>

PR ipa/68851
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231648 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr68851.C [new file with mode: 0644]