At 06:42 PM 3/18/2007, you wrote: >GCC actually does a good job of debugging optimised code, and I often >use -O1 when debugging because it actually does a better job. However, >sometimes code reordering can be confusing.
The compilations are being done with -O2, and in addition to the code reordering, there are symbols which are optimized out, so you can't examine their values. So how do you change -O2 to -O0 or -O1?
