This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix IPA with profiling
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, jh at suse dot cz, Richard Guenther <rguenther at suse dot de>
- Date: Fri, 6 Jul 2012 07:15:43 -0700
- Subject: Re: [PATCH]: Fix IPA with profiling
- References: <CAFULd4ZbnqQ8woORekatH7qobg15SxcC2GLDVPX6=UqxE9jsYQ@mail.gmail.com>
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.