Re: Change in order of evaluation in 4.0.2

2005-11-14 Thread Giovanni Bajo
[EMAIL PROTECTED] wrote: > I appreciate that this is quite valid according to the ANSI C > standard and the team are within their rights to change this, > but I am curious to know the reasoning behind the change which > seems to me to make the object code less optimal. It is not a deliberate cha

Re: Change in order of evaluation in 4.0.2

2005-11-14 Thread Richard Guenther
On 11/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I appreciate that this is quite valid according to the ANSI C > standard and the team are within their rights to change this, > but I am curious to know the reasoning behind the change which > seems to me to make the object code less optim

Change in order of evaluation in 4.0.2

2005-11-14 Thread bil
Hi, I've had a report from a friend that a program that I had written was crashing running a basic test which ran fine on my machine. He noted that he was using gcc 4.0.1, whereas I am running 3.4.1 (Mandrake 10.1) so I suspected a compiler bug might be the case. I use the gcc compiler a lot, but d