Declare size only if BLOCK_REG_PADDING is defined.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2011 13:53:21 +0000 (13:53 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Aug 2011 13:53:21 +0000 (13:53 +0000)
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177036 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/calls.c

index b516175..35f1097 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 7ad30b4..c4f8b46 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.  */