xtensa.c (xtensa_va_start): Use build_int_cst instead of size_int for integer types.
authorBob Wilson <bob.wilson@acm.org>
Tue, 25 Mar 2008 17:56:31 +0000 (17:56 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Tue, 25 Mar 2008 17:56:31 +0000 (17:56 +0000)
commitf4d3e7fd81b4e592fd85e12697fe5ea1c5e23cc5
tree0bf27ee39b54fb0a9aa1eab1aabbc9d167c2013e
parent55d059d348a9cffa6eafb135b290b86816ec7abc
xtensa.c (xtensa_va_start): Use build_int_cst instead of size_int for integer types.

* config/xtensa/xtensa.c (xtensa_va_start): Use build_int_cst
instead of size_int for integer types.
(xtensa_gimplify_va_arg_expr): Likewise.  Convert index to sizetype
to match type of MINUS_EXPR.

From-SVN: r133525
gcc/ChangeLog
gcc/config/xtensa/xtensa.c