https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113210
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #11) > (In reply to Richard Biener from comment #9) > > That is, another fix might be to adjust NITERSM1 to NITERS - 1 when > > NITERS went constant ... (btw, I want to get rid of _NITERS and only > > Or we could only use fold_build2 for the PLUS_EXPR 1 computation if NITERSM1 > is INTEGER_CST, otherwise use build2... I think we should see where the original expression is built but not folded.