http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59415
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Mon Dec 9 14:44:03 2013 New Revision: 205805 URL: http://gcc.gnu.org/viewcvs?rev=205805&root=gcc&view=rev Log: PR sanitizer/59415 * vtable-verify.c (verify_bb_vtables): Check the return value of gimple_call_fn. Use is_gimple_call instead of gimple_code. testsuite/ * g++.dg/ubsan/pr59415.C: New test. Added: trunk/gcc/testsuite/g++.dg/ubsan/pr59415.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/vtable-verify.c