This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [c++] warn if NULL is passed through varargs


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


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