gcc/
commitdabebf7ecc90b59b0603d2428cf465fe1f0d642b
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jul 2011 03:33:44 +0000 (9 03:33 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jul 2011 03:33:44 +0000 (9 03:33 +0000)
tree91cf7e9a3eeaae34dd4f07d9086f498096305f0d
parent63aa3890e81a12aaac274e04e4967bb4abfb7d7a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176071 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/cp/optimize.c
gcc/cp/semantics.c
gcc/ipa.c