This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18251] unable to find a register to spill in class `POINTER_REGS'
- From: "schlie at comcast dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2005 03:39:42 -0000
- Subject: [Bug target/18251] unable to find a register to spill in class `POINTER_REGS'
- References: <20041031125117.18251.ralf_corsepius@rtems.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schlie at comcast dot net 2005-03-13 03:39 -------
(In reply to comment #23)
> This is a define EXPAND. predicates (such as const_int_operand) and
> pattern have no effect at all on generated code or matching. This
> pattern always emits DONE or FAIL.
>
> That is why you need to test operand in body.
- thanks, understood.
> And with oxffff is wrong. As is trying to handle the variable count
> case. That is fixing something that is not broke.
>
> So looks like my patch is ok?
- how about in the case of a variable count = 0 ?
(or since only constants are handled, it falls back to letting gcc figure it out?)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18251