aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-08-02 00:50:01 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-08-02 00:50:01 +0000
commita4b5414c883ff448abe86c07b5cd83e59793d32f (patch)
tree263948557c9985a1d6149cb869094c9e03d8b729 /gcc/optabs.c
parenta03e67c3a3cb59fa73878624ad9565e4fed4c6ca (diff)
downloadgcc-a4b5414c883ff448abe86c07b5cd83e59793d32f.zip
gcc-a4b5414c883ff448abe86c07b5cd83e59793d32f.tar.gz
gcc-a4b5414c883ff448abe86c07b5cd83e59793d32f.tar.bz2
df.c (df_insn_table_realloc): Change parameter to unsigned.
* df.c (df_insn_table_realloc): Change parameter to unsigned. * optabs.c (expand_binop): Make variable unsigned. * simplify-rtx.c (simplify_subreg): Likewise. * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings. From-SVN: r55960
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index c2f9863..1e4af10 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -1219,7 +1219,7 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
{
unsigned int i;
optab otheroptab = binoptab == add_optab ? sub_optab : add_optab;
- int nwords = GET_MODE_BITSIZE (mode) / BITS_PER_WORD;
+ const unsigned int nwords = GET_MODE_BITSIZE (mode) / BITS_PER_WORD;
rtx carry_in = NULL_RTX, carry_out = NULL_RTX;
rtx xop0, xop1, xtarget;