https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62014
Bug ID: 62014 Summary: [AArch64] Using -mgeneral-regs-only may lead to ICE Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: e.menezes at samsung dot com Created attachment 33245 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33245&action=edit This patch should fix this issue, though it needs a test-case. In some cases, when the LRA spills a register into an FP register, with the option -mgeneral-regs-only specified, there is an ICE. It seems to be caused by the LRA assuming that the FP registers are always available and not being told when they aren't by the target.