]> gcc.gnu.org Git - gcc.git/commitdiff
catch a SUBREG containing a constant.
authorBernd Schmidt <bernds@cygnus.co.uk>
Sat, 22 Jan 2000 19:42:34 +0000 (19:42 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Sat, 22 Jan 2000 19:42:34 +0000 (19:42 +0000)
From-SVN: r31562

gcc/ChangeLog
gcc/config/arm/arm.c

index a19dd4d28545ccd26157ec7f7c6fe99e096e470b..1b58f09af17890517e297d51bb9985d566b18c66 100644 (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.
index aa4801e11c57cbb1933404c76598c2bb6f5352a4..c3c5360923b4807145ded3f1bed40fdaef2d6c80 100644 (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);
   
This page took 0.078308 seconds and 5 git commands to generate.