From fad03406ebbeb8609491bf6a71377cc71431661f Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 31 Oct 2018 12:17:30 +0100 Subject: [PATCH] Update test-suite expected output after rewording in libsanitizer. 2018-10-31 Martin Liska * c-c++-common/ubsan/pr63839.c: Update to new sanitizer message. * c-c++-common/ubsan/unreachable-1.c (main): Likewise. * c-c++-common/ubsan/unreachable-2.c: Likewise. * c-c++-common/ubsan/unreachable-4.c (main): Likewise. From-SVN: r265670 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/c-c++-common/ubsan/pr63839.c | 2 +- gcc/testsuite/c-c++-common/ubsan/unreachable-1.c | 2 +- gcc/testsuite/c-c++-common/ubsan/unreachable-2.c | 2 +- gcc/testsuite/c-c++-common/ubsan/unreachable-4.c | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 74e1ece8530..f26542b21d5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2018-10-31 Martin Liska + + * c-c++-common/ubsan/pr63839.c: Update to new sanitizer message. + * c-c++-common/ubsan/unreachable-1.c (main): Likewise. + * c-c++-common/ubsan/unreachable-2.c: Likewise. + * c-c++-common/ubsan/unreachable-4.c (main): Likewise. + 2018-10-31 Thomas Preud'homme PR target/87374 diff --git a/gcc/testsuite/c-c++-common/ubsan/pr63839.c b/gcc/testsuite/c-c++-common/ubsan/pr63839.c index e3933f7fe66..f0cffa6cf7b 100644 --- a/gcc/testsuite/c-c++-common/ubsan/pr63839.c +++ b/gcc/testsuite/c-c++-common/ubsan/pr63839.c @@ -20,4 +20,4 @@ main (void) foo (); } -/* { dg-output "execution reached a __builtin_unreachable\\(\\) call" } */ +/* { dg-output "execution reached an unreachable program point" } */ diff --git a/gcc/testsuite/c-c++-common/ubsan/unreachable-1.c b/gcc/testsuite/c-c++-common/ubsan/unreachable-1.c index 336240c96cb..a72a5fd99a8 100644 --- a/gcc/testsuite/c-c++-common/ubsan/unreachable-1.c +++ b/gcc/testsuite/c-c++-common/ubsan/unreachable-1.c @@ -7,4 +7,4 @@ main (void) { __builtin_unreachable (); } - /* { dg-output "execution reached a __builtin_unreachable\\(\\) call" } */ +/* { dg-output "execution reached an unreachable program point" } */ diff --git a/gcc/testsuite/c-c++-common/ubsan/unreachable-2.c b/gcc/testsuite/c-c++-common/ubsan/unreachable-2.c index 783ebc24913..8299ff203fc 100644 --- a/gcc/testsuite/c-c++-common/ubsan/unreachable-2.c +++ b/gcc/testsuite/c-c++-common/ubsan/unreachable-2.c @@ -11,4 +11,4 @@ main (void) return e ? 0 : (__builtin_unreachable (), 1); } -/* { dg-output "execution reached a __builtin_unreachable\\(\\) call" } */ +/* { dg-output "execution reached an unreachable program point" } */ diff --git a/gcc/testsuite/c-c++-common/ubsan/unreachable-4.c b/gcc/testsuite/c-c++-common/ubsan/unreachable-4.c index 71b56e3f9cc..126572a6e23 100644 --- a/gcc/testsuite/c-c++-common/ubsan/unreachable-4.c +++ b/gcc/testsuite/c-c++-common/ubsan/unreachable-4.c @@ -7,4 +7,4 @@ main (void) { __builtin_unreachable (); } - /* { dg-output "execution reached a __builtin_unreachable\\(\\) call" } */ +/* { dg-output "execution reached an unreachable program point" } */ -- 2.30.2