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/cp/ChangeLog | |
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/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 41157a1..3f776b0 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,9 @@ 2011-07-08 Jason Merrill <jason@redhat.com> + * 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. + PR c++/45603 * decl.c (expand_static_init): Don't get confused by user declaration of __cxa_guard_acquire. |