https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65984
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon May 4 19:53:35 2015 New Revision: 222776 URL: https://gcc.gnu.org/viewcvs?rev=222776&root=gcc&view=rev Log: PR tree-optimization/65984 * ubsan.c: Include tree-cfg.h. (instrument_bool_enum_load): Use stmt_ends_bb_p instead of stmt_could_throw_p test, rename can_throw variable to ends_bb. * c-c++-common/ubsan/pr65984.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/c-c++-common/ubsan/pr65984.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/ubsan.c