https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105080
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:28c5df79300ab354cbc381aab200f7c2bd0331ad commit r12-7870-g28c5df79300ab354cbc381aab200f7c2bd0331ad Author: Richard Biener <rguent...@suse.de> Date: Mon Mar 28 14:55:49 2022 +0200 tree-optimization/105080 - make sure SCEV is available for ranger When doing format diagnostics at -O0 we should make sure to make SCEV available to avoid false positives due to ranges we otherwise can trivially compute. 2022-03-28 Richard Biener <rguent...@suse.de> PR tree-optimization/105080 * tree-ssa-strlen.cc (printf_strlen_execute): Always init loops and SCEV. * gcc.dg/pr105080.c: New testcase.