[PATCH] Use flags_from_decl_or_type in lto_symtab_merge_p (PR ipa/85248).

Richard Biener richard.guenther@gmail.com
Wed Jun 13 11:22:00 GMT 2018


On Fri, Jun 8, 2018 at 1:10 PM Martin Liška <mliska@suse.cz> wrote:
>
> Hi.
>
> Second follow-up patch uses flags_from_decl_or_type in LTO merging
> of declarations. Hope it's more cleaner approach.
>
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
> Ready to be installed?

That doesn't handle the "error" attribute case anymore?

We also have attribute_list_equal / attribute_list_contained that could be
used here?

Richard.

> Martin



More information about the Gcc-patches mailing list