Designs for better debug info in GCC
Robert Dewar
dewar@adacore.com
Tue Dec 18 13:29:00 GMT 2007
Alexandre Oliva wrote:
> On Dec 18, 2007, Robert Dewar <dewar@adacore.com> wrote:
>> OK, so you are agreeing that good debuggability is impossible
>> with all the optimizations in place, so once again, let's have
>> an optimziation level that optimizes as far as possible without
>> harming debuggability.
>
> I don't oppose such an optimization level, even though I don't know
> that we agree on what "good debuggability" stands for.
My definition is that it should be indistinguishable from -O0
except that I could live without being able to modify variables.
>
> It's just that changing optimizations is precisely *against* the goals
> of my current project. So, don't expect significant efforts to this
> end from me at this time.
But you can't achieve the above criterion with your approach.
More information about the Gcc
mailing list