From: J"orn Rennecke Date: Thu, 25 Jul 2002 09:25:14 +0000 (+0000) Subject: simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to int_mode_for_mode. X-Git-Tag: releases/gcc-3.3.0~3640 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80a6248498aa3af100cf41bfb2f12867c9e636a8;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 926ca173e27b..88f30c74c703 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 25 10:23:41 2002 J"orn Rennecke + + * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to + int_mode_for_mode. + 2002-07-25 Gabriel Dos Reis * c-common.c (c_sizeof_or_alignof_type): Take a third argument for diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 1791f2e4d792..59f9aa6d37b3 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);