https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109225
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- Using -O0 basically prevents any analysis regarding a loop. I'm not sure if "-O0 -fanalyzer" really makes any sense. The test cases works with -O2.