This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bb-reorder fix


> On Thu, Jul 12, 2001 at 05:42:33PM +0200, Jan Hubicka wrote:
> > in some cases, the line number notes appear outside basic blocks. bb-reorder
> > may get confused by them and not move the ADDR_VEC expression after BB making
> > my new check in verify_flow_info unhappy.
> 
> Hmm.  Unfortunate.
> 
> Because as far as I can see, a line number note belongs with the
> following block.  Perhaps we should move line number notes 
> immediately before starts of blocks before we start moving things?
It is the line number created by removing a sequence of insns before
end of basic block, so I believe the line number is relative to the previous
basic block, as it has been in the middle of deleted insns.

I was trying to zap the line number note at time the insns are deleted, but
this seems to be relativly tricky, as I need to make tidy_fallthru_edge
and redirect_edge_and_branch to zap the not-only line number notes, but
also the DELETED notes, but I can't zap the DELETED_LABEL...

Honza
> 
> 
> 
> r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]