Re: Information regarding issue with While Loop with O3 optimization

2008-03-04 Thread Robert Dewar
Raghukrishna Hegde wrote: Hello all, I am encountering a strange problem. I have a code Snippet that contains a while loop. The snippet is as follows: While( (expr1) && (expr2) ); Initially the value of both expr1 and expr2 are Set to 1. Next, only the value of expr1 is set to 0

Information regarding issue with While Loop with O3 optimization

2008-03-04 Thread Raghukrishna Hegde
Hello all, I am encountering a strange problem. I have a code Snippet that contains a while loop. The snippet is as follows: While( (expr1) && (expr2) ); Initially the value of both expr1 and expr2 are Set to 1. Next, only the value of expr1 is set to 0 within a SIGINT handler. I