This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: arm.c: Do not allow the IP register as a DFmode operand.
- From: Richard Henderson <rth at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Jan 2002 14:25:59 -0800
- Subject: Re: arm.c: Do not allow the IP register as a DFmode operand.
- References: <m3lmeynsqo.fsf@north-pole.nickc.cambridge.redhat.com>
On Wed, Jan 16, 2002 at 04:52:15PM +0000, Nick Clifton wrote:
> The IP register (number 12) is not suitable to hold a DFmode
> quantity, since its higher numbered counterpart (13) is the stack
> pointer, but the soft_fp predicates in arm.c were allowing it. This
> patch fixes the problem.
Surely the only fix required is in HARD_REGNO_MODE_OK.
r~