This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: PATCH to add cgraph_add_to_same_comdat_group
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Sat, 9 Jul 2011 00:59:36 +0200
- Subject: Re: RFA: PATCH to add cgraph_add_to_same_comdat_group
- References: <4E1779F6.2000104@redhat.com>
> As suggested in c++/49353, this patch stops copying linkage flags to
> thunks in function_and_variable_visibility, replacing that with just
> asserts to make sure that the front end is setting things up properly.
>
> To make the front end's job easier, I've added
> cgraph_add_to_same_comdat_group so that the front end doesn't actually
> need to deal with managing the circular list.
>
> Passes C++ regression testing, OK for trunk if all-language testing passes?
The cgraph bits are OK, thanks!
Honza