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 sanitizer/77823] [7 Regression] ICE: in ubsan_encode_value, at ubsan.c:137 with -fsanitize=undefined and vector types


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct  5 17:47:34 2016
New Revision: 240796

URL: https://gcc.gnu.org/viewcvs?rev=240796&root=gcc&view=rev
Log:
        PR sanitizer/77823
        * c-ubsan.c (ubsan_instrument_shift): Return NULL_TREE if type0
        is not integral.

        * c-c++-common/ubsan/shift-9.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/ubsan/shift-9.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-ubsan.c
    trunk/gcc/testsuite/ChangeLog

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