diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-06 21:30:44 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-06 21:30:44 +0000 |
commit | 8e6c5eac481d419fda6e4705add148e76c8a9ee5 (patch) | |
tree | dde07ae6078edbae3bc5627ad576f38a893d4613 /gcc/alias.c | |
parent | 114c7df685e76dd594ccaf5b2f5529277b02b0fa (diff) | |
download | gcc-8e6c5eac481d419fda6e4705add148e76c8a9ee5.tar.gz |
* alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
avoid warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43823 138bc75d-0d04-0410-961f-82ee72b054a4
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 83354257b75..cacbf628e6c 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; |