This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: aliasing problem with va_arg
- To: Andi Kleen <ak at muc dot de>
- Subject: Re: aliasing problem with va_arg
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 28 Oct 1998 09:54:24 -0700
- cc: Jim Wilson <wilson at cygnus dot com>, mark at markmitchell dot com, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <k2btmwg31j.fsf@zero.aec.at>you write:
> A __norestrict pointer qualifier and an appropiate cast in the va_* macros
> looks a lot cleaner and more general purpose for me - I could imagine that
> it would be very useful to fix other macros where the maintainers don't
> have the possibility to change the compiler @)
That would probably work just as well. The only benefit of my approach is it
take a stiny step towards making the varargs/stdarg stuff a builtin instead
of disgusting macro code. It's something we want to do at some point, it's
just not clear when it'll become important enough for someone to actually
start working on it.
jeff