https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100563
--- Comment #2 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Er, wow, I'm surprised this hasn't come up before. The problem is that the cstore_cc pattern in arm.md has no predicates on the operands and no constraints on the modes of those operands and yet it then immediately calls arm_gen_compare_reg and expects it to handle what has been thrown at it. I'll have to think about this a bit...