Avoid redundant DECL_ASSEMBLER_NAME computations for ODR types
Fri Feb 26 11:13:00 GMT 2016
On Fri, Feb 26, 2016 at 12:04 PM, Jakub Jelinek <firstname.lastname@example.org> wrote:
> On Fri, Feb 26, 2016 at 11:52:50AM +0100, Jan Hubicka wrote:
>> 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?
>> * tree.c (need_assembler_name_p): Do not compute mangled name for
>> variabt types.
Ok with that fix.
More information about the Gcc-patches