OSDN Git Service

* simplify-rtx.c (simplify_subreg): Fix verification of
[pf3gnuchains/gcc-fork.git] / gcc / simplify-rtx.c
index 97d6f6b..39c3015 100644 (file)
@@ -2327,7 +2327,7 @@ simplify_subreg (outermode, op, innermode, byte)
        }
 
       /* See whether resulting subreg will be paradoxical.  */
-      if (GET_MODE_SIZE (innermostmode) < GET_MODE_SIZE (outermode))
+      if (GET_MODE_SIZE (innermostmode) > GET_MODE_SIZE (outermode))
        {
          /* In nonparadoxical subregs we can't handle negative offsets.  */
          if (final_offset < 0)