Re: [PATCH] Fix ICE with -fcheck-pointer-bounds -mmpx (PR target/79633)

2017-02-21 Thread Jeff Law
On 02/21/2017 09:37 AM, Jakub Jelinek wrote: Hi! This function accesses arguments of builtin call without checking the right arguments are actually provided. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? The is_gimple_call in there is meant as a performance

[PATCH] Fix ICE with -fcheck-pointer-bounds -mmpx (PR target/79633)

2017-02-21 Thread Jakub Jelinek
Hi! This function accesses arguments of builtin call without checking the right arguments are actually provided. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? The is_gimple_call in there is meant as a performance thing, we could call gimple_call_builtin_p fir