This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa Too many edges in CFG
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Andrew Macleod <amacleod at redhat dot com>,Jason Merrill <jason at redhat dot com>, Richard Henderson <rth at redhat dot com>,gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: 08 May 2003 12:13:33 -0400
- Subject: Re: [tree-ssa Too many edges in CFG
- Organization: Red Hat Canada
- References: <200305081558.h48Fwnsc004631@speedy.slc.redhat.com>
On Thu, 2003-05-08 at 11:58, law@redhat.com wrote:
> Can someone show me an example where we need code after a nonreturning
> call for correctness?
>
Easy. Let's take that edge out and see what breaks :)
Seriously though. Now that Andrew showed me that we need to traverse
all blocks to find copy-out locations, I don't have a good reason to
keep that edge.
If we find a future optimization that relies on every block having an
out-edge, then we can put it back in. That simple.
Removing the edge has the minor advantage that PDOM information is
smaller.
Diego.