aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorAlan Matsuoka <alanm@redhat.com>2001-12-12 03:20:14 +0000
committerAlan Matsuoka <alanm@gcc.gnu.org>2001-12-12 03:20:14 +0000
commita13287e15d210926f30f37ce91c8b96e30792425 (patch)
treec8e69f1c849ec92be0215690377100aa366d8725 /gcc/combine.c
parenta8c7e72da252fa6d01037d70d9bf24f9af37b07d (diff)
downloadgcc-a13287e15d210926f30f37ce91c8b96e30792425.zip
gcc-a13287e15d210926f30f37ce91c8b96e30792425.tar.gz
gcc-a13287e15d210926f30f37ce91c8b96e30792425.tar.bz2
combine.c (combine_simplify_rtx): Can't simplify cases that use mode class MODE_CC.
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
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c2
1 files changed, 2 insertions, 0 deletions
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,