summaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-26 21:39:50 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-26 21:39:50 +0000
commit4de3dc3231cf1dc8382a6cc9ec54da99fdd0a202 (patch)
tree8caefa64cc8d7ca8987b15838a246c9a62937197 /gcc/expr.h
parent2d9c87159b4cb075883dfee9289704e06f241cfb (diff)
downloadgcc-4de3dc3231cf1dc8382a6cc9ec54da99fdd0a202.tar.gz
* expr.h (ADD_PARM_SIZE): One more convert for INC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51409 138bc75d-0d04-0410-961f-82ee72b054a4
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 792c18c2423..9ffc61fd9a8 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)); \