]> gcc.gnu.org Git - gcc.git/commitdiff
(record_initial): Reject insns that store into subregs.
authorRichard Stallman <rms@gnu.org>
Sat, 5 Jun 1993 07:52:37 +0000 (07:52 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 5 Jun 1993 07:52:37 +0000 (07:52 +0000)
From-SVN: r4632

gcc/loop.c

index 357eee672d9d45d730a627e09d1348719ebc8447..84a6fdf51cc9ea94a20781603674e96e642aa619 100644 (file)
@@ -6200,7 +6200,9 @@ record_initial (dest, set)
 
   if (GET_CODE (dest) != REG
       || REGNO (dest) >= max_reg_before_loop
-      || reg_iv_type[REGNO (dest)] != BASIC_INDUCT)
+      || reg_iv_type[REGNO (dest)] != BASIC_INDUCT
+      /* Reject this insn if the source isn't valid for the mode of DEST.  */
+      || GET_MODE (dest) != GET_MODE (SET_DEST (set)))
     return;
 
   bl = reg_biv_class[REGNO (dest)];
This page took 0.068931 seconds and 5 git commands to generate.