https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114985
--- Comment #9 from David Edelsohn <dje at gcc dot gnu.org> --- The patch in comment 6 succeeds for me, but it seems more of a heavy-handed band-aid that confirms the symptom, but covers up the problem. Something in GCC apparently has generated invalid IR that was not caught earlier. GCC should not generate POINTER = POINTER CMP POINTER But the trunk should not be left in a broken state as per GCC development policy. The broken trunk interferes with the work of other developers and may mask other broken patches being committed. This patch should be reverted until the source of the problem is discovered and fixed.