[PATCH] Re: scheduling vs lexical scopes

Jan Hubicka jh@suse.cz
Sun Dec 30 03:52:00 GMT 2001


> On Sat, Dec 29, 2001 at 10:00:58PM +0100, Jan Hubicka wrote:
> > This is one of manifestation of bugs in the cfglayout notes.  WHat do
> > you think about my new code (at cfg branch) that does handle sope notes
> > at insn basis?
> 
> Seems mostly ok.  I don't see the need to construct a scope tree.
> Such already exists at DECL_INITIAL (cfun->decl).  All you need is
> to (ab)use BLOCK_NUMBER to record the block levels, so that you 
> can reemit the notes.  Which should be just fine, since BLOCK_NUMBER
> isn't used until final.
Uh, I see.
Are you working on something as mentioned in the other mail, or should I prepare
updated patch?

Honza
> 
> > (but it will cause many fragments to be created)
> 
> I do worry about this, particularly for non-dwarf3 debug targets.
> Not sure what to do about it though.
> 
> 
> r~



More information about the Gcc-patches mailing list