Re: [PATCH] ubsan TLC + PR59306 fix

2013-11-27 Thread Jakub Jelinek
On Wed, Nov 27, 2013 at 11:29:21AM +0100, Marek Polacek wrote: > This was meant only as a TLC, but it also fixes PR59306. Using > walk_gimple_op was an overkill; gimple_{store,assign_load}_p is > enough. As a side effect, it also fixes the bug because now we > better restrict what goes into instr

[PATCH] ubsan TLC + PR59306 fix

2013-11-27 Thread Marek Polacek
This was meant only as a TLC, but it also fixes PR59306. Using walk_gimple_op was an overkill; gimple_{store,assign_load}_p is enough. As a side effect, it also fixes the bug because now we better restrict what goes into instrument_member_call. Bootstrapped, ran ubsan testsuite on x86_64-linux,