Commit 32214c32 by Andreas Schwab Committed by Andreas Schwab

cfgloopmanip.c (create_preheader): Initialize src to avoid warning.

	* cfgloopmanip.c (create_preheader): Initialize src to avoid
	warning.

	* expmed.c (emit_store_flag): Fix cast to avoid sign
	comparison warning.

From-SVN: r61962
parent 43196589
2003-01-28 Andreas Schwab <schwab@suse.de> 2003-01-28 Andreas Schwab <schwab@suse.de>
* cfgloopmanip.c (create_preheader): Initialize src to avoid
warning.
* expmed.c (emit_store_flag): Fix cast to avoid sign
comparison warning.
* combine.c (force_to_mode): Add cast to fix warning when * combine.c (force_to_mode): Add cast to fix warning when
STORE_FLAG_VALUE is negative. STORE_FLAG_VALUE is negative.
......
/* Loop manipulation code for GNU compiler. /* Loop manipulation code for GNU compiler.
Copyright (C) 2002 Free Software Foundation, Inc. Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -44,7 +44,7 @@ create_preheader (loop, dom, flags) ...@@ -44,7 +44,7 @@ create_preheader (loop, dom, flags)
{ {
edge e, fallthru; edge e, fallthru;
basic_block dummy; basic_block dummy;
basic_block jump, src; basic_block jump, src = 0;
struct loop *cloop, *ploop; struct loop *cloop, *ploop;
int nentry = 0; int nentry = 0;
rtx insn; rtx insn;
......
/* Medium-level subroutines: convert bit-field store and extract /* Medium-level subroutines: convert bit-field store and extract
and shifts, multiplies and divides to rtl instructions. and shifts, multiplies and divides to rtl instructions.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 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. This file is part of GCC.
...@@ -4368,7 +4368,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep) ...@@ -4368,7 +4368,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
&& (normalizep || STORE_FLAG_VALUE == 1 && (normalizep || STORE_FLAG_VALUE == 1
|| (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT || (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
&& ((STORE_FLAG_VALUE & GET_MODE_MASK (mode)) && ((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; subtarget = target;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment