On 12/09/13 16:03, Marek Polacek wrote:
This patch fixes another instance of unchecked return value of
gimple_call_fn.

Only one thing is interesting: I found an ICE with -fvtable-verify=std
and -flto, that's why I don't run the test with LTO.  This ICE is
unrelated to ubsan.

Regtested/bootstrapped on x86_64-linux, ok for trunk?

2013-12-09  Marek Polacek  <pola...@redhat.com>

        PR sanitizer/59437
        * vtable-verify.c (var_is_used_for_virtual_call_p): Check the
        return value of gimple_call_fn.  Use is_gimple_call/is_gimple_assign
        instead of gimple_code.
testsuite/
        * g++.dg/ubsan/pr59437.C: New test.
OK.
jeff

Reply via email to