https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104521
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|wrong code at -O2 and -O3 |[12 Regression] wrong code |on x86_64-linux-gnu |at -O2 and -O3 with char as | |loop induction variable Target Milestone|--- |12.0 Known to work| |11.2.0 Known to fail| |12.0 Keywords| |diagnostic, wrong-code --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect it was introduced by r12-6844-gf1af8528d3 .