On Mon, Mar 19, 2007 at 02:34:22PM -0400, Daniel Jacobowitz wrote: > On Mon, Mar 19, 2007 at 01:49:55PM -0400, Andrew MacLeod wrote: > > Perhaps this ought to be looked at again with some seriousness. > > I think this is an idea whose time has either come, or will shortly. > GCC's -O0 is much more extreme than that of other compilers I've used.
Yes, -O0 code is worse than it needs to be. It would suffice to consider -O0 the "compile fast, no suprises when debugging" mode. It's an optimization problem, but what is being optimized is the speed of the build/debug/fix/build again cycle.