This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-20000925 code generation bug
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: egcs-20000925 code generation bug
- From: Richard Zidlicky <Richard dot Zidlicky at stud dot informatik dot uni-erlangen dot de>
- Date: Sun, 1 Oct 2000 15:58:55 +0200
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- References: <20000930154432.B14314@cygnus.com>
On Sat, Sep 30, 2000 at 03:44:32PM -0700, Richard Henderson wrote:
> 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);
this are the official headers for the OS. Is there any reason
why gcc should not work correctly with this ? The same headers
worked perfectly in gcc 2.95.[12]
Bye
Richard