This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Avoid redundant DECL_ASSEMBLER_NAME computations for ODR types
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Feb 2016 12:04:58 +0100
- Subject: Re: Avoid redundant DECL_ASSEMBLER_NAME computations for ODR types
- Authentication-results: sourceware.org; auth=none
- References: <20160226105249 dot GC94603 at kam dot mff dot cuni dot cz>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Feb 26, 2016 at 11:52:50AM +0100, Jan Hubicka wrote:
> Hi,
> while looking into the PR testcase I noticed that we detect wrong duplicate
> types. This is because we compute DECL_ASSEMBLER_NAME of a type variant which
> is not necessary.
>
> Bootstrapped/regested x86_64-linux and I checked dumps of xalancbmk to verify
> that nothing changes in ODR type merging except for the duplicates. OK?
>
> Honza
> * tree.c (need_assembler_name_p): Do not compute mangled name for
> variabt types.
s/variabt/variant/
Jakub