summaryrefslogtreecommitdiffstats
path: root/gcc/combine.c
diff options
context:
space:
mode:
authoralanm <alanm@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-12 03:20:14 +0000
committeralanm <alanm@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-12 03:20:14 +0000
commit808b87dc978a9316704af04362a96fb58933975d (patch)
treec8e69f1c849ec92be0215690377100aa366d8725 /gcc/combine.c
parent9884e77fe243a40135ac221d73caadcac7600203 (diff)
downloadppe42-gcc-808b87dc978a9316704af04362a96fb58933975d.tar.gz
ppe42-gcc-808b87dc978a9316704af04362a96fb58933975d.zip
2001-11-30 Alan Matsuoka <alanm@redhat.com>
* 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
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 4a58e7194cd..090f3dff5c5 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,
OpenPOWER on IntegriCloud