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:18, law@redhat.com wrote:

>  >I don't think we use that for anything right now.  In the future,
>  >the predecessor blocks of EXIT_BLOCK_PTR will be the blocks where
>  >we want to put copy-out operations for globals and statics.
> But for a non-returning function the edge to the exit block can never
> execute.
> 
*shrug*.  The edge was only an artifact to speed up the search of blocks
where we have to insert copy-out operations.  Searching EXIT_BLOCK_PTR's
predecessors is quicker than traversing the CFG looking for blocks with
no successors.  We can mark the edge non-exec by default or abnormal as
well.


Diego.


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