Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?

Mark Kettenis
2008-01-10T11:01:42Z

> From: Eric Botcazou <ebotcazou@adacore.com>
> Date: Wed, 9 Jan 2008 21:40:43 +0100
>
> > Eric? Can you remind us of what the problems were? I think it was
> > a combination of both...
>
> Correct. Bloat + holes in location lists so variables couldn't always be
> displayed in the debugger, what we deemed unacceptable at -O0. We have a
> local patch instead to manually emit location notes in a specific case.

If generating the right location information for -O0 is too difficult,
perhaps the compiler should make life easier for itself and disable
scheduling instructions into the prologue?