Criteria for a warning to be in -Wall? (was: Re: a warning to implement)

Robert Dewar dewar@gnat.com
Thu Feb 7 06:25:00 GMT 2002


<It seems to me that if we had an optimization level (call it -O0.5, or
just adjust -O1) in which, at the end of each line, values get flushed
back to memory, we'd pretty much have it: complicated expressions inside
one line of code could be optimized as much as you want, but the
developer in the debugger would see just what he wrote.
>>

That sounds right, although even that may be to extreme, the debugger
can deal with local variables that live cleanly and permanently in registers.



More information about the Gcc mailing list