> Sent: Thursday, May 12, 2022 12:34 AM
> To: Eugene Rozenfeld
> Cc: Jan Hubicka ; gcc-patches@gcc.gnu.org
> Subject: Re: [EXTERNAL] Re: [PATCH] Guard against applying scale with 0
> denominator
>
> On Thu, May 12, 2022 at 3:37 AM Eugene Rozenfeld
> wrote:
> >
: [EXTERNAL] Re: [PATCH] Guard against applying scale with 0
denominator
On Thu, May 12, 2022 at 3:37 AM Eugene Rozenfeld
wrote:
>
> In my case this is not exactly what the FIXME in the comment above
> says. The count is 0 even before the initial scaling happens. I hit this case
&g
ing
that bbs[i].count is not zero?
Richard.
> -Original Message-
> From: Richard Biener
> Sent: Monday, May 09, 2022 12:42 AM
> To: Eugene Rozenfeld ; Jan Hubicka
>
> Cc: gcc-patches@gcc.gnu.org
> Subject: [EXTERNAL] Re: [PATCH] Guard against applyi
NAL] Re: [PATCH] Guard against applying scale with 0 denominator
On Fri, May 6, 2022 at 10:32 PM Eugene Rozenfeld via Gcc-patches
wrote:
>
> Calling count.apply_scale with a 0 denominator causes an assert.
> This change guards against that.
>
> Tested on x86_64-pc-linux-gnu.