[Bug c/26060] A ^= B ^= A ^=B doesn't work if compiled with -g

2006-02-01 Thread vitaly at siliconds dot com
--- Comment #3 from vitaly at siliconds dot com 2006-02-01 11:08 --- Thank you very much. -- vitaly at siliconds dot com changed: What|Removed |Added Status|R

[Bug c/26060] A ^= B ^= A ^=B doesn't work if compiled with -g

2006-02-01 Thread schwab at suse dot de
--- Comment #2 from schwab at suse dot de 2006-02-01 10:34 --- *** This bug has been marked as a duplicate of 11751 *** -- schwab at suse dot de changed: What|Removed |Added

[Bug c/26060] A ^= B ^= A ^=B doesn't work if compiled with -g

2006-02-01 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-02-01 10:23 --- It's not a gcc bug. The code relies on the results of intermediate subexpressions. According to Stroustrup, The C++ Programming Language, section 6.2.2, "The order of evaluation of subexpressions within an expression is unde