aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2011-08-01 13:53:21 +0000
committerH.J. Lu <hongjiu.lu@intel.com>2011-08-01 13:53:21 +0000
commitcdb89976d988506cdbf5fb21a3923db20a4ca395 (patch)
tree5aa2fb39f1dc2835bf19ee4b2d9fef2c666dec0d /gcc/calls.c
parent9f0c8ba059f57306ff1078d247c7832fdf7f48bd (diff)
Declare size only if BLOCK_REG_PADDING is defined.
2011-08-01 H.J. Lu <hongjiu.lu@intel.com> * calls.c (emit_library_call_value_1): Declare size only if BLOCK_REG_PADDING is defined. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@177036 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c2
1 files changed, 2 insertions, 0 deletions
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. */