Re: [PATCH] Initialize variable in order to survive PGO bootstrap.

2017-11-04 Thread Richard Biener
On November 4, 2017 7:53:12 PM GMT+01:00, Richard Sandiford wrote: >Richard Biener writes: >> On Fri, Nov 3, 2017 at 9:52 AM, Martin Liška 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

Re: [PATCH] Initialize variable in order to survive PGO bootstrap.

2017-11-04 Thread Richard Sandiford
Richard Biener writes: > On Fri, Nov 3, 2017 at 9:52 AM, Martin Liška 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 r

Re: [PATCH] Initialize variable in order to survive PGO bootstrap.

2017-11-03 Thread Richard Biener
On Fri, Nov 3, 2017 at 9:52 AM, Martin Liška 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). > O

[PATCH] Initialize variable in order to survive PGO bootstrap.

2017-11-03 Thread Martin Liška
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? Only option is to push/pop Wuninitialized warning. Ready for trunk? Thanks, Martin gcc/ChangeLog: 2017-11-03 Martin