https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105993
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- Created attachment 53149 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53149&action=edit Patch to fix the failure The patch fixes this particular failure by using (match_dup X). In general, rtx_equal_p should be used before reload (also with register_operand). REGNO on register_operand is valid only after reload (post-reload splitters and peephole2 patterns).