summaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-28 11:05:18 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-28 11:05:18 +0000
commitfe1dc70147c001a9748aec09f73df69a2a19ebd3 (patch)
treea85144ea6eba802df52fd5989d9c5e430c9ce139 /gcc/expmed.c
parent451e72c22ccc37ef812fb7bcc80ba37ea4d7a9a2 (diff)
downloadgcc-fe1dc70147c001a9748aec09f73df69a2a19ebd3.tar.gz
* cfgloopmanip.c (create_preheader): Initialize src to avoid
warning. * expmed.c (emit_store_flag): Fix cast to avoid sign comparison warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61962 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index dea2629733a..9fe87b68ffb 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -1,7 +1,7 @@
/* Medium-level subroutines: convert bit-field store and extract
and shifts, multiplies and divides to rtl instructions.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of GCC.
@@ -4368,7 +4368,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
&& (normalizep || STORE_FLAG_VALUE == 1
|| (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
&& ((STORE_FLAG_VALUE & GET_MODE_MASK (mode))
- == (HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (mode) - 1)))))
+ == (unsigned HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (mode) - 1)))))
{
subtarget = target;