diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/ubsan/pr71403-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/ubsan/pr71403-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/ubsan/pr71403-3.c | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bfca5cf..2ab2f25 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,12 @@ 2016-08-03 Richard Biener <rguenther@suse.de> + * c-c++-common/ubsan/pr71403-1.c: Use dg-additional-options + and remove -O3. + * c-c++-common/ubsan/pr71403-2.c: Likewise. + * c-c++-common/ubsan/pr71403-3.c: Likewise. + +2016-08-03 Richard Biener <rguenther@suse.de> + * gcc.dg/tree-ssa/loadpre2.c: Disable LIM. * gcc.dg/tree-ssa/loadpre21.c: Likewise. * gcc.dg/tree-ssa/loadpre22.c: Likewise. diff --git a/gcc/testsuite/c-c++-common/ubsan/pr71403-1.c b/gcc/testsuite/c-c++-common/ubsan/pr71403-1.c index f8f4867..298609c 100644 --- a/gcc/testsuite/c-c++-common/ubsan/pr71403-1.c +++ b/gcc/testsuite/c-c++-common/ubsan/pr71403-1.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O3 -fsanitize=unreachable" } */ +/* { dg-additional-options "-fsanitize=unreachable" } */ char a = -97; int b, c, d, e; diff --git a/gcc/testsuite/c-c++-common/ubsan/pr71403-2.c b/gcc/testsuite/c-c++-common/ubsan/pr71403-2.c index 03b6e83..85e97c0 100644 --- a/gcc/testsuite/c-c++-common/ubsan/pr71403-2.c +++ b/gcc/testsuite/c-c++-common/ubsan/pr71403-2.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O3 -fsanitize=unreachable" } */ +/* { dg-additional-options "-fsanitize=unreachable" } */ char a, c; short b; diff --git a/gcc/testsuite/c-c++-common/ubsan/pr71403-3.c b/gcc/testsuite/c-c++-common/ubsan/pr71403-3.c index 1ab7736..dd34bf5 100644 --- a/gcc/testsuite/c-c++-common/ubsan/pr71403-3.c +++ b/gcc/testsuite/c-c++-common/ubsan/pr71403-3.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O3 -fsanitize=unreachable" } */ +/* { dg-additional-options "-fsanitize=unreachable" } */ int a, b, c, d; |