On Mon, Apr 03, 2006 at 08:09:05PM -0400, Robert Dewar wrote:
> In fact I agree that -O0 should not do any optimizations visible to
> the user of the debugger at the source level (I wish it would do a
> bit better job of generating reasonable code, subject to this criterion!)

Let's be careful to distinguish code optimizations, and optimizations that
avoid the generation of unnecessary debug information.  It used to be that
every once in a while, in response to a bug report, a GCC developer would
make a change that doubles or triples the size of a debug executable.  For
C++, where the size can already be massive, this can be a killer.

Reply via email to