This is the mail archive of the gcc@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: tuples: data structure separation from trees


On Thu, Mar 29, 2007 at 09:38:02PM -0700, Ian Lance Taylor wrote:
> Provided we keep locations on statements, specifically including
> GIMPLE_MODIFY_EXPR, does it really help us to keep locations on
> expressions within statements in optimized code?  What could the
> debugger do with that information, in principle, that would be
> helpful?

I would worry about any time that two statements are combined and then
later separated, thus losing line information from one of them.  At
the gimple level, that's less likely - in GENERIC or higher, more
likely.  See the PR for a case where the current approach would even
require locations on constants.  And that's obviously infeasible, so...

-- 
Daniel Jacobowitz
CodeSourcery


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