Avoid redundant DECL_ASSEMBLER_NAME computations for ODR types

Richard Biener richard.guenther@gmail.com
Fri Feb 26 11:13:00 GMT 2016

On Fri, Feb 26, 2016 at 12:04 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> 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/

Ok with that fix.


>         Jakub

More information about the Gcc-patches mailing list