https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21223
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=87600, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=86939, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=87899 Known to fail| |4.9.0, 8.1.0 Target Milestone|--- |9.0 Status|NEW |RESOLVED Known to work| |9.1.0 --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So this is fully fixed in GCC 9+. LRA fixes the problems that reload had. (LRA had a similar bug but had been fixes see the linked bug reports).