This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65984

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jun  3 15:33:59 2015
New Revision: 224092

URL: https://gcc.gnu.org/viewcvs?rev=224092&root=gcc&view=rev
Log:
        Backported from mainline
        2015-05-04  Jakub Jelinek  <jakub@redhat.com>

        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-4_9-branch/gcc/testsuite/c-c++-common/ubsan/pr65984.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]