PR tree-optimization/65984
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 May 2015 19:52:33 +0000 (19:52 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 May 2015 19:52:33 +0000 (19:52 +0000)
commitdf6e34696299995667a0f8e602132789c5a29a3b
tree84db2409acab690605ecd708b51fa26e9e7a8c22
parent672cf86b1e41484d97f17ab868d1facef20ed4b5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222775 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/pr65984.c [new file with mode: 0644]
gcc/ubsan.c