https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121143

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
My bet is that before cunroll we didn't know that __n_206 is 9 and during
cunroll we completely unroll the loop that computes it and when processing the
next loop we use ranger to ask about __n_206 value, get that it is 9 and assume
the loop has exactly 9 iterations.  Nothing has removed the loop as dead though
because of __n_206 it will __throw_bad_alloc and so the warning is correct, but
on a dead loop.
No idea how to prevent that though.

Reply via email to