This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is this a gcc bug?
- To: Axel Kittenberger <Anshil at gmx dot net>
- Subject: Re: Is this a gcc bug?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 13 Jan 2001 00:14:37 -0200
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <11420.979291083@www27.gmx.net>
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