This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Different results with `gcc' and `gcc -O3' - really a bug ?
- To: "Dmitry A. Antipov" <antipov at rosnet dot ru>
- Subject: Re: Different results with `gcc' and `gcc -O3' - really a bug ?
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Fri, 11 Aug 2000 12:03:45 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- Organization: Codesourcery LLC
- References: <3993D9A7.34A55452@rosnet.ru>
"Dmitry A. Antipov" wrote:
> y = ++x + ++x;
Undefined effects, anything can happen see
http://www.eskimo.com/~scs/C-faq/s3.html
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org