OSDN Git Service

2001-11-30 Alan Matsuoka <alanm@redhat.com>
authoralanm <alanm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Dec 2001 03:20:14 +0000 (03:20 +0000)
committeralanm <alanm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Dec 2001 03:20:14 +0000 (03:20 +0000)
* combine.c (combine_simplify_rtx) : Can't simplify
cases that use mode class MODE_CC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47917 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/combine.c

index 47d63a6..01f8bd4 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 4a58e71..090f3df 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,