diff options
author | Jan van Male <jan.vanmale@fenk.wau.nl> | 2001-07-06 23:30:44 +0200 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-07-06 14:30:44 -0700 |
commit | 8fa2140d42bf1fe983ca5f5fec9c107ee6fb57c3 (patch) | |
tree | dde07ae6078edbae3bc5627ad576f38a893d4613 /gcc/alias.c | |
parent | 87e08c698d7deb8560658f251d82eb4b02fb4b9e (diff) | |
download | gcc-8fa2140d42bf1fe983ca5f5fec9c107ee6fb57c3.zip gcc-8fa2140d42bf1fe983ca5f5fec9c107ee6fb57c3.tar.gz gcc-8fa2140d42bf1fe983ca5f5fec9c107ee6fb57c3.tar.bz2 |
alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to avoid warnings.
* alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
avoid warnings.
From-SVN: r43823
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index 8335425..cacbf62 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -1307,11 +1307,11 @@ base_alias_check (x, y, x_mode, y_mode) return 1; if (GET_CODE (x) == AND && (GET_CODE (XEXP (x, 1)) != CONST_INT - || GET_MODE_UNIT_SIZE (y_mode) < -INTVAL (XEXP (x, 1)))) + || (int) GET_MODE_UNIT_SIZE (y_mode) < -INTVAL (XEXP (x, 1)))) return 1; if (GET_CODE (y) == AND && (GET_CODE (XEXP (y, 1)) != CONST_INT - || GET_MODE_UNIT_SIZE (x_mode) < -INTVAL (XEXP (y, 1)))) + || (int) GET_MODE_UNIT_SIZE (x_mode) < -INTVAL (XEXP (y, 1)))) return 1; /* Differing symbols never alias. */ return 0; |