https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81388
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- (it helps to describe in what way the code is wrong, for instance in a way that makes the testcase abort) Apparently ivcanon thinks the number of iterations is constant, as it would be for the condition dst != end.