https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42367
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Severity|normal |enhancement Target Milestone|--- |10.0 Status|UNCONFIRMED |RESOLVED Keywords| |missed-optimization --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed in GCC 10 at least. Might have been fixed before too but I can only check GCC 7 and GCC 10 at this moment.