aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-26 13:39:50 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-03-26 13:39:50 -0800
commit361ea006e51c4d6cfc849a1f47c5ba837cb28504 (patch)
tree8caefa64cc8d7ca8987b15838a246c9a62937197 /gcc/expr.h
parent1de38a8829a2a0151b16c84b88ca29cc520fac61 (diff)
downloadgcc-361ea006e51c4d6cfc849a1f47c5ba837cb28504.zip
gcc-361ea006e51c4d6cfc849a1f47c5ba837cb28504.tar.gz
gcc-361ea006e51c4d6cfc849a1f47c5ba837cb28504.tar.bz2
* expr.h (ADD_PARM_SIZE): One more convert for INC.
From-SVN: r51409
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 792c18c..9ffc61f 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -81,7 +81,7 @@ do { \
if (host_integerp (inc, 0)) \
(TO).constant += tree_low_cst (inc, 0); \
else if ((TO).var == 0) \
- (TO).var = inc; \
+ (TO).var = convert (ssizetype, inc); \
else \
(TO).var = size_binop (PLUS_EXPR, (TO).var, \
convert (ssizetype, inc)); \