[Bug sanitizer/63913] [5 Regression] ICE: verify_gimple failed: statement marked for throw, but doesn't with -fnon-call-exceptions -fsanitize=bool

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 28 13:34:00 GMT 2014


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  <jakub@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



More information about the Gcc-bugs mailing list