This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Flowgraph bug
- From: Jan Hubicka <jh at suse dot cz>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Mon, 21 Apr 2003 00:28:53 +0200
- Subject: Re: Flowgraph bug
- References: <20030420162838.GE23814@daikokuya.co.uk> <20030420221227.GG21078@kam.mff.cuni.cz> <20030420222427.GB30388@daikokuya.co.uk>
> 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.