libstdc++: Fix dg-prune-output assertion message

Since __glibcxx_assert changes in r6b42b5a the generated assertion message
has changed.

libstdc++-v3/ChangeLog:

	* testsuite/25_algorithms/copy/debug/constexpr_neg.cc: Replace 'failed_assertion'
	dg-prune-output reason with 'builtin_unreachable'.
	* testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc: Likewise.
	* testsuite/25_algorithms/equal/debug/constexpr_neg.cc: Likewise.
	* testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc: Likewise.
	* testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc: Likewise.
	* testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc: Likewise.
	* testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc: Likewise.
	* testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc: Likewise.
	* testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc: Likewise.
This commit is contained in:
François Dumont 2021-08-08 18:52:19 +02:00
parent fd26ce8398
commit ad9c394114
9 changed files with 9 additions and 9 deletions

View File

@ -49,5 +49,5 @@ test2()
static_assert(test2()); // { dg-error "is outside the bounds" }
// { dg-prune-output "in 'constexpr' expansion" }
// { dg-prune-output "failed_assertion" }
// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "non-constant condition" }

View File

@ -37,4 +37,4 @@ test()
static_assert(test()); // { dg-error "non-constant condition" }
// { dg-prune-output "in 'constexpr' expansion" }
// { dg-prune-output "failed_assertion" }
// { dg-prune-output "builtin_unreachable" }

View File

@ -48,4 +48,4 @@ static_assert(test02()); // { dg-error "outside the bounds" }
// { dg-prune-output "non-constant condition" }
// { dg-prune-output "in 'constexpr'" }
// { dg-prune-output "failed_assertion" }
// { dg-prune-output "builtin_unreachable" }

View File

@ -44,5 +44,5 @@ test()
static_assert(test()); // { dg-error "" }
// { dg-prune-output "failed_assertion" }
// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }

View File

@ -34,5 +34,5 @@ test()
static_assert(test()); // { dg-error "" }
// { dg-prune-output "failed_assertion" }
// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }

View File

@ -47,6 +47,6 @@ test2()
static_assert(test2()); // { dg-error "" }
// { dg-prune-output "failed_assertion" }
// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }

View File

@ -44,5 +44,5 @@ test()
static_assert(test()); // { dg-error "" }
// { dg-prune-output "failed_assertion" }
// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }

View File

@ -34,5 +34,5 @@ test()
static_assert(test()); // { dg-error "" }
// { dg-prune-output "failed_assertion" }
// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }

View File

@ -47,5 +47,5 @@ test2()
static_assert(test2()); // { dg-error "" }
// { dg-prune-output "failed_assertion" }
// { dg-prune-output "builtin_unreachable" }
// { dg-prune-output "in 'constexpr'" }