From 9ad1a1da40869324fd22aec2b3a993cabc82ea80 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 3 Aug 2016 14:41:34 +0000 Subject: [PATCH] pr71403-1.c: Use dg-additional-options and remove -O3. 2016-08-03 Richard Biener * 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. From-SVN: r239077 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/c-c++-common/ubsan/pr71403-1.c | 2 +- gcc/testsuite/c-c++-common/ubsan/pr71403-2.c | 2 +- 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 bfca5cf4d7d..2ab2f25eabc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2016-08-03 Richard Biener + + * 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 * gcc.dg/tree-ssa/loadpre2.c: Disable LIM. diff --git a/gcc/testsuite/c-c++-common/ubsan/pr71403-1.c b/gcc/testsuite/c-c++-common/ubsan/pr71403-1.c index f8f48675bb1..298609c525d 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 03b6e839981..85e97c08606 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 1ab77366908..dd34bf53404 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; -- 2.30.2