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] rebuild frequency after vrp


Just tried with Teresa's patch, the ICE in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61384 is not resolved.

Dehao

On Mon, Jun 2, 2014 at 9:45 AM, Jeff Law <law@redhat.com> wrote:
> On 06/02/14 10:17, Dehao Chen wrote:
>>
>> We need to rebuild frequency after vrp, otherwise the following code
>> in tree-ssa-threadupdate.c will make the frequency larger than
>> upper-bound.
>>
>>            /* Excessive jump threading may make frequencies large enough
>> so
>>               the computation overflows.  */
>>            if (rd->dup_blocks[0]->frequency < BB_FREQ_MAX * 2)
>>              rd->dup_blocks[0]->frequency += EDGE_FREQUENCY (e);
>>
>> This is referring to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61384
>
> Can you try this with Teresa's revamping of the jump threading frequency
> updates?  It's still in my queue of things to review.
>
> Fixing this stuff in the updater would be better than rebuilding the
> frequencies, IMHO.
>
> Jeff
>


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