Declare size only if BLOCK_REG_PADDING is defined.
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 1 Aug 2011 13:53:21 +0000 (13:53 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 1 Aug 2011 13:53:21 +0000 (06:53 -0700)
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.

From-SVN: r177036

gcc/ChangeLog
gcc/calls.c

index b516175b5674368b985352d594391fca11b5ee54..35f1097f35d836343e708ebf77f93ca9d67a192a 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2011-08-01  Kirill Yukhin  <kirill.yukhin@intel.com>
 
        PR target/49547
index 7ad30b4245c135f6f90772d2930d144db3f44305..c4f8b46163f79fee20bafe1ec3b1bf2ff27bfcf1 100644 (file)
@@ -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.  */