This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR middle-end/36859: Caller/callee mismatch for vararg on stack


On Fri, Jul 18, 2008 at 8:43 AM, Ian Lance Taylor <iant@google.com> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>> gcc/
>>
>> 2008-07-16  H.J. Lu  <hongjiu.lu@intel.com>
>>
>>       PR middle-end/36859
>>       * builtins.c  (std_gimplify_va_arg_expr): Limit alignment
>>       to PREFERRED_STACK_BOUNDARY.
>>       * config/i386/i386.c (ix86_gimplify_va_arg): Likewise.
>>
>> testsuite/
>>
>> 2008-07-16  H.J. Lu  <hongjiu.lu@intel.com>
>>
>>       PR middle-end/36859
>>       * gcc.target/i386/vararg-2.c: New.
>
>
> This is OK if it passes bootstrap and testing.
>

This is the patch I checked in. I updated comments to describe
caller/callee. Tested on Linux/ia32, Linux/ia64 and Linux/x86-64.

Thanks.


-- 
H.J.

Attachment: gcc-callee-2.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]