combine.c (combine_simplify_rtx): Can't simplify cases that use mode class MODE_CC.
authorAlan Matsuoka <alanm@redhat.com>
Wed, 12 Dec 2001 03:20:14 +0000 (03:20 +0000)
committerAlan Matsuoka <alanm@gcc.gnu.org>
Wed, 12 Dec 2001 03:20:14 +0000 (03:20 +0000)
2001-11-30 Alan Matsuoka <alanm@redhat.com>

* combine.c (combine_simplify_rtx) : Can't simplify
cases that use mode class MODE_CC.

From-SVN: r47917

gcc/ChangeLog
gcc/combine.c

index 47d63a612ac03afcd6817caae879a31b0adee03c..01f8bd4a327767155c8ffdf52fddee481e8e3407 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-30 Alan Matsuoka <alanm@redhat.com>
+
+       * combine.c (combine_simplify_rtx) : Can't simplify 
+       cases that use mode class MODE_CC.
+
 2001-12-11  Richard Henderson  <rth@redhat.com>
 
        * expmed.c (expand_divmod): Ignore sdiv_pow2_cheap for modes in
index 4a58e7194cde065b8e94315eb55b4c6d20c285c8..090f3dff5c53f72336e313190bc04fd7595c109b 100644 (file)
@@ -3796,6 +3796,8 @@ combine_simplify_rtx (x, op0_mode, last, in_dest)
          && subreg_lowpart_offset (mode, op0_mode) == SUBREG_BYTE (x))
        return gen_lowpart_for_combine (mode, SUBREG_REG (x));
 
+      if (GET_MODE_CLASS (GET_MODE (SUBREG_REG (x))) == MODE_CC)
+        break;
       {
        rtx temp;
        temp = simplify_subreg (mode, SUBREG_REG (x), op0_mode,