]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to int_mode_for_mode.
authorJ"orn Rennecke <joern.rennecke@superh.com>
Thu, 25 Jul 2002 09:25:14 +0000 (09:25 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 25 Jul 2002 09:25:14 +0000 (10:25 +0100)
* simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
int_mode_for_mode.

From-SVN: r55745

gcc/ChangeLog
gcc/simplify-rtx.c

index 926ca173e27bcc2a16f0c5af87905d32d17ea78d..88f30c74c7036c2e840174099603226719f17051 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul 25 10:23:41 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
+       int_mode_for_mode.
+
 2002-07-25  Gabriel Dos Reis  <gdr@nerim.net>
 
        * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
index 1791f2e4d7927bbd6c8fb4b463bfffd8cef03d51..59f9aa6d37b390b9c82a9e7d8ab5cda5753cd5a3 100644 (file)
@@ -2406,7 +2406,8 @@ simplify_subreg (outermode, op, innermode, byte)
            return new;
        }
 
-      if (GET_MODE_CLASS (outermode) != MODE_INT)
+      if (GET_MODE_CLASS (outermode) != MODE_INT
+         && GET_MODE_CLASS (outermode) != MODE_CC)
        {
          enum machine_mode new_mode = int_mode_for_mode (outermode);