Is this a gcc bug?
Alexandre Oliva
aoliva@redhat.com
Fri Jan 12 18:14:00 GMT 2001
On Jan 12, 2001, Axel Kittenberger <Anshil@gmx.net> wrote:
> bug.i:8: unpredictable behaviour due to undefined evaluation sequence of
> 'x'
It's the behavior that is undefined. How about:
undefined behavior: expression may modify `x' multiple times
> I donnot know how gcc warning polices are, but wouldn't it be desirable
> having this warning enabled by default? since the original syntax is never
> correct c.
I'm inclined to agree.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc
mailing list