https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108589
--- Comment #3 from ptomsich at gcc dot gnu.org --- I can confirm that the issue reproduces (as expected) with the '--enable-checking=rtl' configuration. I'll retest the fix and submit via the list.