diff options
| author | Alan Matsuoka <alanm@redhat.com> | 2001-12-12 03:20:14 +0000 | 
|---|---|---|
| committer | Alan Matsuoka <alanm@gcc.gnu.org> | 2001-12-12 03:20:14 +0000 | 
| commit | a13287e15d210926f30f37ce91c8b96e30792425 (patch) | |
| tree | c8e69f1c849ec92be0215690377100aa366d8725 | |
| parent | a8c7e72da252fa6d01037d70d9bf24f9af37b07d (diff) | |
| download | gcc-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
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/combine.c | 2 | 
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, | 
