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: [PATCH] Fix PR 19505


On Thu, 2006-07-13 at 17:49 +0100, Andrew Haley wrote:

OK for trunk and branches?  Bootstrapped x86_64-linux-gnu.

Andrew.


2006-07-13  Andrew Haley  <aph@redhat.com>

        * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH
        edge coming into this block, make sure that the destination of
        this block has only one predecessor.
Seems reasonable to me -- though in both the changelog and in the 
comment "coming into" should be "leaving", right?

ie, for BB to be a forwarder block it must have a single outgoing edge
and if the destination block of that single outgoing edge has incoming
EH edges then the single outgoing edge must also be the only incoming
edge for the destination block.  Right?

[ That's going to be confusing no matter how you try to word it :( ]



Jeff


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