https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103281
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[9/12 Regression] Dead Code |[9/10/12 Regression] Dead |Elimination Regression at |Code Elimination Regression |-O3 (trunk vs 11.2.0) |at -O3 (trunk vs 11.2.0) --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > I want to say we should defer this until after GCC 12 because this was only > being optimized on accident. phiopt1 As you can see by this used to work between 4.9-8.0 and then regressed in GCC 9 and 10.