re PR sanitizer/63913 (ICE: verify_gimple failed: statement marked for throw, but...
authorJakub Jelinek <jakub@redhat.com>
Wed, 19 Nov 2014 09:27:30 +0000 (10:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 19 Nov 2014 09:27:30 +0000 (10:27 +0100)
commitd4698839555ad0f855f68347658231f04d0061a5
tree532cc91f7e101e19ad224580a7f49ac2a319bc88
parent8f7d0ab920d2863472c4899e6a9222400d1c9a89
re PR sanitizer/63913 (ICE: verify_gimple failed: statement marked for throw, but doesn't with -fnon-call-exceptions -fsanitize=bool)

PR sanitizer/63913
* ubsan.c: Include tree-eh.h.
(instrument_bool_enum_load): Handle loads that can throw.

* g++.dg/ubsan/pr63913.C: New test.

From-SVN: r217755
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ubsan/pr63913.C [new file with mode: 0644]
gcc/ubsan.c