Re: Trouble with stdarg on ia64
>>>>> On Mon, 28 Apr 2003 00:26:25 +0200, Martin Buck <m@rtin-buck.de> said:
Martin> According to the IA64 ABI, all arguments for
Martin> stdarg-functions are passed in 64 bit slots. However, if you
Martin> just pass a 32 bit quantity, then the upper 32 bits of the
Martin> slot are undefined. Is there any way to avoid this (i.e. can
Martin> you force the unused part of the slot to be initialized to
Martin> 0)?
No, there is no (compiler-independent) way to avoid this. I suppose one
could hack it into GCC fairly easily, but it would require a special option.
--david
Reply to: