optimization bug

Dima Volodin dvv@dvv.ru
Tue Oct 27 08:56:00 GMT 1998


Did I, really? Can you quote the chapter and verse where it reads that
passing an argument by reference is a dereference?

Anyway, changing the reference to the "dereferenced" zero pointer to a
reference to any other object doesn't change the compiler's behavior a
little bit.

Cheers

Dima

Alexandre Oliva wrote:

> Dima Volodin <dvv@dvv.ru> writes:
>
> > And, BTW, what's so undefined about my program's behavior?
>
> You dereferenced a NULL pointer.
>
> --
> Alexandre Oliva
> mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
> http://www.dcc.unicamp.br/~oliva
> Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list