[PATCH] Improve debug info for Ada (4/4)

Eric Botcazou ebotcazou@adacore.com
Sat Feb 17 19:49:00 GMT 2007


> There ought to be relatively few locations.  You could probably
> compromise and not show every moment it was loaded into a register
> from its assigned stack slot, and still do OK.  I think this is just a
> consequence of our already overly pessimistic -O0 - compare to what
> some other compilers do with "no" optimization...

I'm starting to get convinced. :-)  It turns out that -fvar-tracking is 
probably necessary to get fully correct debug info for parameters that
are referenced in nested functions.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list