From: Jakub Jelinek Date: Thu, 1 Mar 2018 23:28:31 +0000 (+0100) Subject: re PR sanitizer/70875 (ICE in get_ubsan_type_info_for_type with -fsanitize=undefined) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c438a7bc38f85fc187a4762a244d67742400828;p=gcc.git re PR sanitizer/70875 (ICE in get_ubsan_type_info_for_type with -fsanitize=undefined) PR sanitizer/70875 * gcc.dg/ubsan/bounds-3.c: Add -fno-sanitize-recover=bounds to dg-options and dg-shouldfail "ubsan" directive. From-SVN: r258117 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index abd409e7df7..ef84baf3970 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-03-02 Jakub Jelinek + + PR sanitizer/70875 + * gcc.dg/ubsan/bounds-3.c: Add -fno-sanitize-recover=bounds to + dg-options and dg-shouldfail "ubsan" directive. + 2018-03-01 Marek Polacek Jason Merrill diff --git a/gcc/testsuite/gcc.dg/ubsan/bounds-3.c b/gcc/testsuite/gcc.dg/ubsan/bounds-3.c index 50ad67389f8..c9d896d1903 100644 --- a/gcc/testsuite/gcc.dg/ubsan/bounds-3.c +++ b/gcc/testsuite/gcc.dg/ubsan/bounds-3.c @@ -1,6 +1,7 @@ /* PR sanitizer/70875 */ /* { dg-do run } */ -/* { dg-options "-fsanitize=bounds" } */ +/* { dg-options "-fsanitize=bounds -fno-sanitize-recover=bounds" } */ +/* { dg-shouldfail "ubsan" } */ int foo (int n, int k)