On Fri, Dec 4, 2015 at 10:04 AM, Jan Hubicka <hubi...@ucw.cz> wrote:
> Hi,
> this is the patch implementing renaming and fixing logic in ipa-icf/lto-symtab
> WRT compuattion of this flag.  I don't seem to be able to construct testcase 
> for
> this: the merged flag is currently used in inliner only to decide whether to
> ingore optimize_size/optimize levels which should not lead to wrong code and
> I can't grep LTO dumps from testsuite.
>
> Bootstrapped/regtested x86_64-linux, comitted
> Honza
>
>         * ipa-inline.c (can_inline_edge_p) Use merged_comdat.
>         * cgraphclones.c (cgraph_node::create_clone): Use merged_comdat.
>         * cgraph.c (cgraph_node::dump): Dump merged_comdat.
>         * ipa-icf.c (sem_function::merge): Drop merged_comdat when merging
>         comdat and non-comdat.
>         * cgraph.h (cgraph_node): Rename merged to merged_comdat.
>         * ipa-inline-analysis.c (simple_edge_hints): Check both merged_comdat
>         and icf_merged.
>
>         * lto-symtab.c (lto_cgraph_replace_node): Update code computing
>         merged_comdat.

This may have caused:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68708


H.J.

Reply via email to