This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix IPA with profiling


On Wed, Jul 4, 2012 at 6:22 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> Hello!
>
> Attached patch partially reverts r187375 [1]. Apparently, the patch
> added some new functionality to symtab_remove_unreachable_nodes,
> although the ChangeLog said:
>
> Log:
>         ...
>         (symtab_remove_unreachable_nodes): Cleanup.
>
> It looks to me that since we changed something, we also have to update
> something, at least when profiling, before calling
> cgraph_propagate_frequency.
>
> 2012-07-04  Uros Bizjak  <ubizjak@gmail.com>
>
>         * ipa.c (symtab_remove_unreachable_nodes): Partially revert r187375
>         to not call cgraph_propagate_frequency if something was changed.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53865


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]