aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2015-12-15 14:07:15 +0100
committerMartin Jambor <jamborm@gcc.gnu.org>2015-12-15 14:07:15 +0100
commit4a414de84a8e51b60b0be0c6c3ad9c33f7310d92 (patch)
tree062c93856d8ecd5b8d3539d305d0f33b8f624de8 /gcc/cgraph.h
parentb15f02734659e9babcb743e368b40f57f60c0b48 (diff)
downloadgcc-4a414de84a8e51b60b0be0c6c3ad9c33f7310d92.zip
gcc-4a414de84a8e51b60b0be0c6c3ad9c33f7310d92.tar.gz
gcc-4a414de84a8e51b60b0be0c6c3ad9c33f7310d92.tar.bz2
[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. From-SVN: r231648
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 0a09391..ba14215 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -1070,7 +1070,7 @@ public:
cgraph_edge *get_edge (gimple *call_stmt);
/* Collect all callers of cgraph_node and its aliases that are known to lead
- to NODE (i.e. are not overwritable). */
+ to NODE (i.e. are not overwritable) and that are not thunks. */
vec<cgraph_edge *> collect_callers (void);
/* Remove all callers from the node. */