This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/52437] [4.7 Regression] internal compiler error: in spill_failure, at reload1.c:2120


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]