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)


On Wed, Feb 14, 2007 at 08:04:39AM +0100, Eric Botcazou wrote:
> > Honestly, I wish we could enable it at -O0 too; the more accurate
> > debugging information would be useful in some cases.  For instance,
> > getting location lists for incoming arguments which are correct from
> > the very first instruction.
> 
> I'd a little wary of the bloat in the debug info, no?

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...

-- 
Daniel Jacobowitz
CodeSourcery


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