diff options
author | Jason Merrill <jason@redhat.com> | 2011-07-08 23:33:44 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-07-08 23:33:44 -0400 |
commit | 2fda8e144a7db5ba6025cfe643da0c6111cc2b0f (patch) | |
tree | 91cf7e9a3eeaae34dd4f07d9086f498096305f0d /gcc/cgraph.h | |
parent | e8f8774a901e9645bfadc23d4e72be552b0e9b72 (diff) | |
download | gcc-2fda8e144a7db5ba6025cfe643da0c6111cc2b0f.zip gcc-2fda8e144a7db5ba6025cfe643da0c6111cc2b0f.tar.gz gcc-2fda8e144a7db5ba6025cfe643da0c6111cc2b0f.tar.bz2 |
cgraph.c (cgraph_add_to_same_comdat_group): New.
gcc/
* cgraph.c (cgraph_add_to_same_comdat_group): New.
* cgraph.h: Declare it.
* ipa.c (function_and_variable_visibility): Make sure thunks
have the right visibility.
gcc/cp/
* method.c (use_thunk): Use cgraph_add_to_same_comdat_group.
* optimize.c (maybe_clone_body): Likewise.
* semantics.c (maybe_add_lambda_conv_op): Likewise.
From-SVN: r176071
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 9133923..5d6ff7c 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -469,6 +469,7 @@ void debug_cgraph_node (struct cgraph_node *); void cgraph_insert_node_to_hashtable (struct cgraph_node *node); void cgraph_remove_edge (struct cgraph_edge *); void cgraph_remove_node (struct cgraph_node *); +void cgraph_add_to_same_comdat_group (struct cgraph_node *, struct cgraph_node *); void cgraph_remove_node_and_inline_clones (struct cgraph_node *); void cgraph_release_function_body (struct cgraph_node *); void cgraph_node_remove_callees (struct cgraph_node *node); |