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

Reply via email to