On Fri, Nov 3, 2017 at 9:52 AM, Martin Liška <mli...@suse.cz> wrote:
> Hi.
>
> This is oneliner that fixes PGO bootstrap. I've discussed that with Richi and 
> the core is correct.
> However we probably don't have an attribute that will ignore the warning?

I think

  wide_int res = res;

might do (untested).

> Only option is to push/pop Wuninitialized warning.

Too ugly...

> Ready for trunk?

Any better idea?  Richard?

Richard.

> Thanks,
> Martin
>
> gcc/ChangeLog:
>
> 2017-11-03  Martin Liska  <mli...@suse.cz>
>
>         * tree-vrp.c (vrp_int_const_binop): Initialize to wi::zero.
> ---
>  gcc/tree-vrp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
>

Reply via email to