This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Re: scheduling vs lexical scopes
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.
> (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.