[Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 6 09:48:00 GMT 2016


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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri May  6 09:47:25 2016
New Revision: 235951

URL: https://gcc.gnu.org/viewcvs?rev=235951&root=gcc&view=rev
Log:
        PR sanitizer/70875
        * ubsan.c (get_ubsan_type_info_for_type): Remove assert.

        * gcc.dg/ubsan/bounds-3.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/ubsan/bounds-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/ubsan.c


More information about the Gcc-bugs mailing list