This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]