This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] put exception tables for comdat functions in comdat, too
- From: Richard Henderson <rth at redhat dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 06 Aug 2012 10:45:10 -0700
- Subject: Re: [PATCH] put exception tables for comdat functions in comdat, too
- References: <501F3CA0.3040106@codesourcery.com>
On 08/05/2012 08:40 PM, Sandra Loosemore wrote:
> 2012-08-04 Paul Brook <paul@codesourcery.com>
> Sandra Loosemore <sandra@codesourcery.com>
>
> gcc/
> * except.c (switch_to_exception_section): Place tables for
> DECL_ONE_ONLY functions in comdat groups.
Mostly ok.
> - s = get_section (section_name, flags, NULL);
> + s = get_section (section_name, flags, current_function_decl);
Not correct, since we're not putting the function in that section.
We have no decl for the actual eh data.
Though that might be a good cleanup for except.c...
r~