This test should be run rather than just compiled.

Bootstrapped/regtested on x86_64-linux, applying to trunk.

2015-03-05  Marek Polacek  <pola...@redhat.com>

        * c-c++-common/ubsan/bounds-6.c: Use dg-do run.

diff --git gcc/testsuite/c-c++-common/ubsan/bounds-6.c 
gcc/testsuite/c-c++-common/ubsan/bounds-6.c
index e7d15d5..aef2055 100644
--- gcc/testsuite/c-c++-common/ubsan/bounds-6.c
+++ gcc/testsuite/c-c++-common/ubsan/bounds-6.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do run } */
 /* { dg-options "-fsanitize=bounds -Wall -Wextra" } */
 
 /* Test off-by-one.  */

        Marek

Reply via email to