https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113148
Bug ID: 113148 Summary: 14.0 ICE: maximum number of generated reload insns per insn achieved Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: xen0n at gentoo dot org CC: chenglulu at loongson dot cn, xry111 at gcc dot gnu.org Target Milestone: --- Target: loongarch64 Created attachment 56947 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56947&action=edit Minimized reproducer I just discovered this ICE while building xwayland-23.2.3 on a mostly up-to-date Gentoo, but I suspect the bug is present on vanilla GCC as well, because I remember there are recently some refactoring around LoongArch FCC handling. The attached reproducer is minified from xwayland's mi/miarc.c with minor modifications.