Re: [PATCH] Fix -fsanitize=vptr sanopt lowering (PR sanitizer/65004)

2015-02-10 Thread Richard Biener
On February 10, 2015 9:08:33 PM CET, Jakub Jelinek wrote: >Hi! > >As ubsan_expand_vptr_ifn points *gsip to the first stmt in the next bb, >we want to always return true as no_next, we never want to gsi_next on >it >before processing it further, otherwise we could skip some important >statement (e.

[PATCH] Fix -fsanitize=vptr sanopt lowering (PR sanitizer/65004)

2015-02-10 Thread Jakub Jelinek
Hi! As ubsan_expand_vptr_ifn points *gsip to the first stmt in the next bb, we want to always return true as no_next, we never want to gsi_next on it before processing it further, otherwise we could skip some important statement (e.g. another UBSAN_* call). Fixed thusly, bootstrapped/regtested on