https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88686
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|debug |rtl-optimization Known to work| |4.8.5, 5.5.0 Version|unknown |8.2.1 Target Milestone|--- |7.5 Summary|gcc generates wrong debug |[7/8/9 Regression] gcc |information at -O1 |generates wrong debug | |information at -O1 Known to fail| |7.2.1, 8.2.0 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Works for me with GCC 4.8 and GCC 5, fails with GCC 7 and 8 at least. The code is a bit convoluted but correct at RTL expansion time so this goes wrong on RTL somehow (I guess cross-jumping or whatever).