> Yes, I don't like -O0 producing worse debug info - what does
> the -O0 -fvar-tracking-assignments results look like?

I'd do the opposite: totally disable VTA at -O0 like we do for -fvar-tracking.
We once tried to enable -fvar-tracking with -O0 at AdaCore and ended up with 
bloated and inferior debug info.  I think we shouldn't need to do anything 
at -O0 apart from sufficiently curbing the code generator to get correct 
naive debug info; the sophisticated stuff should be reserved to -O and above.

-- 
Eric Botcazou

Reply via email to