diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-20 18:34:28 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-20 18:34:28 +0000 |
commit | 4f520835de3b8cbff976c8bb27f6ce113986f605 (patch) | |
tree | 18e8651a6e8f8be265ac3185709457f1450f6c4f /gcc/expr.h | |
parent | f21ce30ddc89980233a37b78f0a4d0c3f5fdd47f (diff) | |
download | gcc-4f520835de3b8cbff976c8bb27f6ce113986f605.tar.gz |
PR c/5615
* expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49904 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/expr.h b/gcc/expr.h index e5b488aec33..c1ee7f4e1e8 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -97,7 +97,8 @@ struct args_size of type ssizetype. */ #define ARGS_SIZE_TREE(SIZE) \ ((SIZE).var == 0 ? ssize_int ((SIZE).constant) \ - : size_binop (PLUS_EXPR, (SIZE).var, ssize_int ((SIZE).constant))) + : size_binop (PLUS_EXPR, convert (ssizetype, (SIZE).var), \ + ssize_int ((SIZE).constant))) /* Convert the implicit sum in a `struct args_size' into an rtx. */ #define ARGS_SIZE_RTX(SIZE) \ |