This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: More degenerate flow graphs breaking if_convert.
- To: rearnsha at arm dot com
- Subject: Re: More degenerate flow graphs breaking if_convert.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 12 Jun 2000 10:49:06 -0600
- cc: rth at cygnus dot com, gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200006101218.NAA05435@cam-mail2.cambridge.arm.com>you write:
>
> Richard,
>
> Remember that you checked in the following to fix a degenerate flow graph
> problem that caused if_convert to get lost?
>
> 2000-05-15 Richard Henderson <rth@cygnus.com>
> * toplev.c (rest_of_compilation): Run full jump pass before
> find_basic_blocks of flow2.
>
> Well, I've now found a case where this is still insufficient.
[ ... ]
I wonder if using a more modern dead code elimination algorithm would solve
this problem such as the one outlined in Morgan's book. Presumably what is
causing the problem is the cascading effect of dead code elimination and
jump optimizations -- which I believe is handled by Morgan's dead code
elimination algorithm.
jeff