catch a SUBREG containing a constant.

From-SVN: r31562
This commit is contained in:
Bernd Schmidt 2000-01-22 19:42:34 +00:00 committed by Nick Clifton
parent 5787d8dadf
commit 37b80d2e02
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
* config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
constant.
2000-01-21 Jim Wilson <wilson@cygnus.com>
* fixinc/inclhack.tpl: Test for directory before trying to cd into it.

View File

@ -2307,6 +2307,9 @@ soft_df_operand (op, mode)
if (mode != VOIDmode && GET_MODE (op) != mode)
return FALSE;
if (GET_CODE (op) == SUBREG && CONSTANT_P (SUBREG_REG (op)))
return FALSE;
if (GET_CODE (op) == SUBREG)
op = SUBREG_REG (op);