https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98502
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Component|c |middle-end Status|UNCONFIRMED |RESOLVED Target Milestone|--- |11.0 Resolution|--- |FIXED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I reported this in April 2020 (but not to a bug report because I did not know if it was a bug or not): https://gcc.gnu.org/pipermail/gcc/2020-April/000407.html Fixed in GCC 11 by the patch in the referenced mailing list threads. https://gcc.gnu.org/pipermail/gcc-patches/2020-June/546934.html which continued the discussion to: https://gcc.gnu.org/pipermail/gcc-patches/2020-July/549596.html