[PATCH] Clear EDGE_CROSSING flag when redirecting edge succ to EXIT_BLOCK_PTR (PR middle-end/50907)

2011-11-28 Thread Jakub Jelinek
Hi! The checking code insists on edges to EXIT_BLOCK_PTR (and from ENTRY_BLOCK_PTR) to have no EDGE_CROSSING bit set, so if we have a bb in second partition jumping to first partition's entry block and convert_jumps_to_returns changes it to simple_return, we need to drop the EDGE_CROSSING bit.

Re: [PATCH] Clear EDGE_CROSSING flag when redirecting edge succ to EXIT_BLOCK_PTR (PR middle-end/50907)

2011-11-28 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/11 11:40, Jakub Jelinek wrote: Hi! The checking code insists on edges to EXIT_BLOCK_PTR (and from ENTRY_BLOCK_PTR) to have no EDGE_CROSSING bit set, so if we have a bb in second partition jumping to first partition's entry block and