re PR sanitizer/70875 (ICE in get_ubsan_type_info_for_type with -fsanitize=undefined)
authorMarek Polacek <polacek@redhat.com>
Fri, 6 May 2016 09:47:25 +0000 (09:47 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 6 May 2016 09:47:25 +0000 (09:47 +0000)
commit29c94e65e1be846e8a71a3d24450c4cf1d1d5b41
tree92fdb0faddfff9c5b045d105afa9159fe1b99b8f
parent3684b02efb8df49a5795034657353d875333c86e
re PR sanitizer/70875 (ICE in get_ubsan_type_info_for_type with -fsanitize=undefined)

PR sanitizer/70875
* ubsan.c (get_ubsan_type_info_for_type): Remove assert.

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

From-SVN: r235951
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ubsan/bounds-3.c [new file with mode: 0644]
gcc/ubsan.c