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]

Re: egcs-20000925 code generation bug


On Sat, Sep 30, 2000 at 10:51:49PM +0200, Richard Zidlicky wrote:
>     ((ap) = (va_list)&formatstr + ((sizeof(formatstr)+sizeof(int)\
>	-(size_t)1) & ~(sizeof(int) -(size_t)1)));

If you got this from the expansion of va_start, then you're
looking at the wrong headers.  This should instead expand to 

	__builtin_stdarg_start ((ap), formatstr);



r~

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