Re: [PATCH] Fix bb-reorder asm goto handling (PR sanitizer/81262)

2017-07-01 Thread Richard Biener
On June 30, 2017 7:33:34 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >The following testcases now ICE on the trunk. The problem is that >fix_up_fall_thru_edges doesn't notice asm goto does have a fallthru >edge >when it has 3 edges and the EDGE_FALLTHRU is only 3rd. Fixed by using >find_fallthru_e

[PATCH] Fix bb-reorder asm goto handling (PR sanitizer/81262)

2017-06-30 Thread Jakub Jelinek
Hi! The following testcases now ICE on the trunk. The problem is that fix_up_fall_thru_edges doesn't notice asm goto does have a fallthru edge when it has 3 edges and the EDGE_FALLTHRU is only 3rd. Fixed by using find_fallthru_edge if we didn't find it among the first 2 edges no matter what the