m68k.c (output_andsi3): Fix signed/unsigned comparison warning.

* config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
	warning.

From-SVN: r75412
This commit is contained in:
Bernardo Innocenti 2004-01-05 05:13:49 +01:00 committed by Bernardo Innocenti
parent ca9bc441e4
commit d7b3c08535
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-01-05 Bernardo Innocenti <bernie@develer.com>
* config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
warning.
2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org> 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Use AC_PROG_CPP_WERROR. * configure.ac: Use AC_PROG_CPP_WERROR.

View File

@ -3281,7 +3281,7 @@ output_andsi3 (rtx *operands)
{ {
int logval; int logval;
if (GET_CODE (operands[2]) == CONST_INT if (GET_CODE (operands[2]) == CONST_INT
&& (INTVAL (operands[2]) | 0xffff) == 0xffffffff && (INTVAL (operands[2]) | 0xffff) == (HOST_WIDE_INT)0xffffffff
&& (DATA_REG_P (operands[0]) && (DATA_REG_P (operands[0])
|| offsettable_memref_p (operands[0])) || offsettable_memref_p (operands[0]))
&& !TARGET_COLDFIRE) && !TARGET_COLDFIRE)