regmove sometimes fails to update basic_block_end

Toshiyasu Morita tm@netcom.com
Wed Sep 30 23:08:00 GMT 1998


> 
> On Wed, Sep 30, 1998 at 01:06:32PM -0600, Jeffrey A Law wrote:
> > 
> >   > Handling this sort of thing would be easier if every insn had an additional
> >   > field that carried the basic block number.  Would such a change be applied?
> > I think it's more likely that we'll have notes in the insn chain itself to
> > mark the start/end of each bb.
> 
> One thought is that we really should have BB insns that are the markers for
> begin/end (ie, that way, doing the normal insert before/after would work, and
> we wouldn't have to continually update the head/tail.
> 

I posted a patch which does this a month ago; e.g. adds two notes called 
NOTE_BASIC_BLOCK_START and NOTE_BASIC_BLOCK_END.

Should I repost them?

Toshi




More information about the Gcc-patches mailing list