This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 7/7] Update test-suite expected output after rewording in libsanitizer.
- From: marxin <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 24 Oct 2018 13:52:10 +0200
- Subject: [PATCH 7/7] Update test-suite expected output after rewording in libsanitizer.
- References: <cover.1540462546.git.mliska@suse.cz>
- Resent-user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0
gcc/testsuite/ChangeLog:
2018-10-24 Martin Liska <mliska@suse.cz>
* 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.
---
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 +-
4 files changed, 4 insertions(+), 4 deletions(-)
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" } */