https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88044
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Jan 22 09:58:23 2019 New Revision: 268143 URL: https://gcc.gnu.org/viewcvs?rev=268143&root=gcc&view=rev Log: PR tree-optimization/88044 * tree-ssa-loop-niter.c (number_of_iterations_cond): If condition is false in the first iteration, but !every_iteration, return false instead of true with niter->niter zero. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-loop-niter.c