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]
Other format: [Raw text]

Re: Flowgraph bug


> Jan Hubicka wrote:-
> 
> > > Did you manage to reproduce this?
> > Yes, it exposes bug I fixed two years ago on cfg branch...  Here is
> > updated patch.  The problem is that we may miss BB when looking for
> > destination of fallthru edge in the case BB is empty.
> 
> Wow.  It was a fairly straightforward function; amazing this hasn't
> turned up before.  Thanks for fixing it!

It is triggered by quite degnerate case of splitting that causes new
basic block to be created just before empty basic block that has been
left in there for no reason from earlier computation.  But yes, it is
amazing how rarely it triggers and how long I managed to keep it on the
branch only.

Honza
> 
> Neil.


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