]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR sanitizer/70875 (ICE in get_ubsan_type_info_for_type with -fsanitize...
authorJakub Jelinek <jakub@redhat.com>
Mon, 25 Jun 2018 17:24:42 +0000 (19:24 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 25 Jun 2018 17:24:42 +0000 (19:24 +0200)
Backported from mainline
2018-03-02  Jakub Jelinek  <jakub@redhat.com>

PR sanitizer/70875
* gcc.dg/ubsan/bounds-3.c: Add -fno-sanitize-recover=bounds to
dg-options and dg-shouldfail "ubsan" directive.

From-SVN: r262067

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ubsan/bounds-3.c

index 8414ca165708c85cc50907f34b61a93193181ea1..401bf84ec515db249b9e054c51db234546d264fc 100644 (file)
@@ -1,6 +1,12 @@
 2018-06-25  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from mainline
+       2018-03-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/70875
+       * gcc.dg/ubsan/bounds-3.c: Add -fno-sanitize-recover=bounds to
+       dg-options and dg-shouldfail "ubsan" directive.
+
        2018-02-26  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/84558
index 50ad67389f8a82f14e26b3789146ae2146f7ca2a..c9d896d1903bae0468843544c54081d941923cb6 100644 (file)
@@ -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)