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
Lars Brinkhoff <lars.spam@nocrew.org> writes:
| Alexandre Oliva <aoliva@redhat.com> writes:
| > 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?
|
| No.
Interesting. Then lies the difference? In their sizes? If so, what
happens to the snipped code Alexandre posted earlier?
-- Gaby