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: [tree-ssa Too many edges in CFG


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.


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