https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108784
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Arseny Solokha from comment #1)
> (In reply to Arseny Solokha from comment #0)
> > I believe it has nothing to do w/
> > -fharden-conditional-branches, as there are many testcases that fail w/ that
> > omitted.
>
> Like the following one (though I get hundreds of them each day starting from
> that snapshot):
>
> int
> foo (int x)
> {
> int i, a = 0;
>
> x <<= !!x;
>
> for (i = 0; i < 7; ++i)
> {
> int i;
>
> for (i = 0; i < 12; ++i)
> {
> ++x;
> a += x + i;
> }
> }
>
> return x;
> }
This one looks fixed on the trunk. I have not tested other yet.