This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/62014] New: [AArch64] Using -mgeneral-regs-only may lead to ICE
- From: "e.menezes at samsung dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 04 Aug 2014 21:04:13 +0000
- Subject: [Bug target/62014] New: [AArch64] Using -mgeneral-regs-only may lead to ICE
- Auto-submitted: auto-generated
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.