This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52437] [4.7 Regression] internal compiler error: in spill_failure, at reload1.c:2120
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Feb 2012 21:00:26 +0000
- Subject: [Bug target/52437] [4.7 Regression] internal compiler error: in spill_failure, at reload1.c:2120
- Auto-submitted: auto-generated
- References: <bug-52437-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52437
--- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2012-02-29 21:00:26 UTC ---
(In reply to comment #4)
> movsi uses re constraint, not rn, so I'd think we should use re.
re also includes symbols and labels and whatnot (please see
x86_64_immediate_operand predicate). We are interested only in plain 32bit
immediates here that will produce mov $1, (%rsp).
Please also add ! decoration to the last three alternatives, to avoid
mov $1, %eax
mov %eax, (%rsp)
...
The patch is pre-approved with these changes.