aboutsummaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@superh.com>2002-07-25 09:25:14 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2002-07-25 10:25:14 +0100
commit80a6248498aa3af100cf41bfb2f12867c9e636a8 (patch)
tree69342341bd3e56f2cd5369ec0500a48e831a8334 /gcc/simplify-rtx.c
parentea79391291786e58a29c963b6c407b71e55d5f34 (diff)
downloadgcc-80a6248498aa3af100cf41bfb2f12867c9e636a8.zip
gcc-80a6248498aa3af100cf41bfb2f12867c9e636a8.tar.gz
gcc-80a6248498aa3af100cf41bfb2f12867c9e636a8.tar.bz2
simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to int_mode_for_mode.
* simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to int_mode_for_mode. From-SVN: r55745
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 1791f2e..59f9aa6 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);