diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-25 09:25:14 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-25 09:25:14 +0000 |
commit | 54ec7c809de4a3bcf4d682af67a80d1020421e23 (patch) | |
tree | 69342341bd3e56f2cd5369ec0500a48e831a8334 /gcc/simplify-rtx.c | |
parent | d3a4d008cbebd187459727f6433b274be03ea160 (diff) | |
download | ppe42-gcc-54ec7c809de4a3bcf4d682af67a80d1020421e23.tar.gz ppe42-gcc-54ec7c809de4a3bcf4d682af67a80d1020421e23.zip |
* simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
int_mode_for_mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55745 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 1791f2e4d79..59f9aa6d37b 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -2406,7 +2406,8 @@ simplify_subreg (outermode, op, innermode, byte) return new; } - if (GET_MODE_CLASS (outermode) != MODE_INT) + if (GET_MODE_CLASS (outermode) != MODE_INT + && GET_MODE_CLASS (outermode) != MODE_CC) { enum machine_mode new_mode = int_mode_for_mode (outermode); |