gcc/testsuite/ChangeLog:
2018-10-24 Martin Liska <[email protected]>
* 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" } */