https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=116336, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=115568 --- Comment #18 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Which means the compare debug issues are latent LRA. PR 116234 and PR 116336 are definitely related there. Note the change for r15-2810 in one place to use PREV_NON_DEBUG_INSN instead of PREV_INSN was NOT enough to fix this. Also I suspect the wrong code is closely related to PR 115568 but I have not proved that yet.