Re: [PATCH] Fix ubsan non-call-exceptions ICE (PR tree-optimization/65984)

2015-05-04 Thread Jeff Law
On 05/04/2015 12:16 PM, Jakub Jelinek wrote: Hi! The code I've added in r217755 was assuming that stmt_could_throw_p memory read will always end a bb, but that is clearly not the case. Thus, the following patch uses stmt_ends_bb_p instead. Bootstrapped/regtested on x86_64-linux and i686-linux,

[PATCH] Fix ubsan non-call-exceptions ICE (PR tree-optimization/65984)

2015-05-04 Thread Jakub Jelinek
Hi! The code I've added in r217755 was assuming that stmt_could_throw_p memory read will always end a bb, but that is clearly not the case. Thus, the following patch uses stmt_ends_bb_p instead. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk/5? 2015-05-04 Jakub Jelinek