From mboxrd@z Thu Jan 1 00:00:00 1970 From: Falk Hueffner To: gcc@gcc.gnu.org Subject: Re: Is this a gcc bug? Date: Wed, 17 Jan 2001 03:21:00 -0000 Message-id: <87wvbubgol.fsf@student.uni-tuebingen.de> References: <20010113022149.AFA5534D80@nile.gnat.com> <3A64EDD6.76B11021@mvista.com> X-SW-Source: 2001-01/msg01060.html Michael Eager writes: > My sugguestion: > > undefined behavior: value of expression using 'x' is undefined This would seem to imply that the behaviour is undefined because one uses an undefined value. But that's not the case: the standard says program behaviour is undefined even if you say x = ++x and never look at x again. (At least IIRC.) BTW, I would really like to mention the warning "sequence point" so people have something to look up. Falk