aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/combine.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 47d63a6..01f8bd4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/combine.c b/gcc/combine.c
index 4a58e71..090f3df 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -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,