[Bug middle-end/65984] [4.9/5/6 Regression] ICE: definition in block 4 does not dominate use in block 2 with -fnon-call-exceptions -fsanitize=enum

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 4 19:54:00 GMT 2015


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



More information about the Gcc-bugs mailing list