(override_options): Don't allow anything but integers to go in the
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 26 Sep 1995 20:51:32 +0000 (16:51 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 26 Sep 1995 20:51:32 +0000 (16:51 -0400)
HI/LO registers.

From-SVN: r10404

gcc/config/mips/mips.c

index 4e6d7f372e7c0edb482fcade3f8f32ae4b8e5dfc..890b3d7b50a9b1f936bb59ae6e1ed7200a858957 100644 (file)
@@ -3453,8 +3453,9 @@ override_options ()
                    && (! TARGET_SINGLE_FLOAT || size <= 4));
 
          else if (MD_REG_P (regno))
-           temp = (size <= UNITS_PER_WORD
-                   || (regno == MD_REG_FIRST && size == 2 * UNITS_PER_WORD));
+           temp = (class == MODE_INT
+                   && (size <= UNITS_PER_WORD
+                       || (regno == MD_REG_FIRST && size == 2 * UNITS_PER_WORD)));
 
          else
            temp = FALSE;