summaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.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/simplify-rtx.c
parenta03e67c3a3cb59fa73878624ad9565e4fed4c6ca (diff)
downloadgcc-a4b5414c883ff448abe86c07b5cd83e59793d32f.tar.gz
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/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 0565dcd32b8..135846ca82f 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -2280,7 +2280,7 @@ simplify_subreg (outermode, op, innermode, byte)
if (GET_CODE (op) == CONST_VECTOR)
{
int elt_size = GET_MODE_SIZE (GET_MODE_INNER (innermode));
- int offset = byte / elt_size;
+ const unsigned int offset = byte / elt_size;
rtx elt;
if (GET_MODE_INNER (innermode) == outermode)