https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63913
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Nov 28 13:34:13 2014 New Revision: 218151 URL: https://gcc.gnu.org/viewcvs?rev=218151&root=gcc&view=rev Log: Backported from mainline 2014-11-19 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ubsan/pr63913.C Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/ubsan.c