This is the mail archive of the gcc@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: I need some advice for x86_64-pc-mingw32 va_list calling convention (in i386.c)


On 2/27/07, Kai Tietz <Kai.Tietz@onevision.com> wrote:
Thank you,

I allready adjusted my code. But by the reason of the need to define
OUTGOING_REG_PARM_STACK_SPACE for this target, I had to change the general
definition of it to be target specific.

This is why the uses of OUTGOING_REG_PARM_STACK_SPACE should really be changed to be if(OUTGOING_REG_PARM_STACK_SPACE) instead of #ifdef OUTGOING_REG_PARM_STACK_SPACE.

There was an email a while back from Zack Weinberg and Hans-Peter
Nilsson which talks explictly about how chaning this has saved
maintaining and finding bugs in the compiler.
<http://gcc.gnu.org/ml/gcc/2001-01/msg01775.html and
http://gcc.gnu.org/ml/gcc/2001-01/msg01777.html>

And I thought this was really part of our coding style too but I
cannot find it on http://gcc.gnu.org/codingconventions.html .

Thanks,
Andrew Pinski


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