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:
parent
fd26ce8398
commit
ad9c394114
@ -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" }
|
||||
|
@ -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" }
|
||||
|
@ -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" }
|
||||
|
@ -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'" }
|
||||
|
@ -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'" }
|
||||
|
@ -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'" }
|
||||
|
||||
|
@ -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'" }
|
||||
|
@ -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'" }
|
||||
|
@ -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'" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user