https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58122
--- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #0)
>
> I've also briefly checked with trunk rev 201282 and the problem seems to be
> still there. Here is a reduced test case:
>
> int test (void)
> {
> int sum = 0;
> for (int x = 0; x < 100; x++)
> sum += x;
>
> return sum;
> }
>
As of r213381 the reduced test case seems to work OK with at least loop counts
up to 40000.
