This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [c++] warn if NULL is passed through varargs
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Lars Brinkhoff <lars dot spam at nocrew dot org>
- Cc: Michael Matz <matz at suse dot de>, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, <gcc-patches at gcc dot gnu dot org>
- Date: 11 Oct 2002 03:43:31 -0300
- Subject: Re: [c++] warn if NULL is passed through varargs
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.33.0210092104580.9652-100000@wotan.suse.de><85adllbi4l.fsf@junk.nocrew.org>
On Oct 11, 2002, Lars Brinkhoff <lars.spam@nocrew.org> wrote:
> Michael Matz <matz@suse.de> writes:
>> Which machine which is supported by gcc has a different
>> representation of different pointer types (in C please).
> The PDP-10 port (not supported in the official GCC tree) has different
> representations for pointers to words and pointer to bytes. E.g.
> "int *" and "char *" are different.
But are the binary representations of their NULLs different from
all-zeros?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer