From: H.J. Lu Date: Mon, 1 Aug 2011 13:53:21 +0000 (+0000) Subject: Declare size only if BLOCK_REG_PADDING is defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee222ce05cf5321a72c7f70e75a5e839c3e0bdaf;p=gcc.git Declare size only if BLOCK_REG_PADDING is defined. 2011-08-01 H.J. Lu * calls.c (emit_library_call_value_1): Declare size only if BLOCK_REG_PADDING is defined. From-SVN: r177036 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b516175b567..35f1097f35d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-01 H.J. Lu + + * calls.c (emit_library_call_value_1): Declare size only if + BLOCK_REG_PADDING is defined. + 2011-08-01 Kirill Yukhin PR target/49547 diff --git a/gcc/calls.c b/gcc/calls.c index 7ad30b4245c..c4f8b46163f 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -3829,7 +3829,9 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value, rtx val = argvec[argnum].value; rtx reg = argvec[argnum].reg; int partial = argvec[argnum].partial; +#ifdef BLOCK_REG_PADDING int size = 0; +#endif /* Handle calls that pass values in multiple non-contiguous locations. The PA64 has examples of this for library calls. */