aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorGraham Stott <grahams@redhat.com>2002-01-16 09:24:00 +0000
committerGraham Stott <grahams@gcc.gnu.org>2002-01-16 09:24:00 +0000
commit60e8b9f0d18271ca2cb46f1b732ba4328eacf6b4 (patch)
tree062eb3cbbdeafb4362c9901f3c838edaf78c63b9 /gcc/calls.c
parent7b25b076d2982bb836a35a985bcb47aec7ac17bc (diff)
downloadgcc-60e8b9f0d18271ca2cb46f1b732ba4328eacf6b4.zip
gcc-60e8b9f0d18271ca2cb46f1b732ba4328eacf6b4.tar.gz
gcc-60e8b9f0d18271ca2cb46f1b732ba4328eacf6b4.tar.bz2
calls.c (try_to_integrate): Use "(size_t)" intermediate cast and when casting an integer literal to "rtx"...
* calls.c (try_to_integrate): Use "(size_t)" intermediate cast and when casting an integer literal to "rtx" pointer. (expand_call): Likewise. * flow.c (try_pre_increment): Likewise. (find_use_as_address): Likewise. * integrate.c (expand_iline_function): Likewise. * regmove.c (try_auto_increment): Likewise. From-SVN: r48906
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index a6c999c..3d4540d 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -1822,7 +1822,7 @@ try_to_integrate (fndecl, actparms, target, ignore, type, structure_value_addr)
timevar_pop (TV_INTEGRATION);
/* If inlining succeeded, return. */
- if (temp != (rtx) (HOST_WIDE_INT) - 1)
+ if (temp != (rtx) (size_t) - 1)
{
if (ACCUMULATE_OUTGOING_ARGS)
{
@@ -1902,7 +1902,7 @@ try_to_integrate (fndecl, actparms, target, ignore, type, structure_value_addr)
warning ("called from here");
}
mark_addressable (fndecl);
- return (rtx) (HOST_WIDE_INT) - 1;
+ return (rtx) (size_t) - 1;
}
/* We need to pop PENDING_STACK_ADJUST bytes. But, if the arguments
@@ -2285,7 +2285,7 @@ expand_call (exp, target, ignore)
rtx temp = try_to_integrate (fndecl, actparms, target,
ignore, TREE_TYPE (exp),
structure_value_addr);
- if (temp != (rtx) (HOST_WIDE_INT) - 1)
+ if (temp != (rtx) (size_t) - 1)
return temp;
}