]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Tweak dg-error patterns for C++26 constexpr changes
authorJonathan Wakely <jwakely@redhat.com>
Fri, 11 Jul 2025 22:49:05 +0000 (23:49 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 15 Jul 2025 14:11:06 +0000 (15:11 +0100)
libstdc++-v3/ChangeLog:

* testsuite/25_algorithms/copy/debug/constexpr_neg.cc:
* testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc:
* testsuite/25_algorithms/equal/debug/constexpr_neg.cc:
* testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc:
* testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc:
* testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc:
* testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc:
* testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc:
* testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc:

libstdc++-v3/testsuite/25_algorithms/copy/debug/constexpr_neg.cc
libstdc++-v3/testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc
libstdc++-v3/testsuite/25_algorithms/equal/debug/constexpr_neg.cc
libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc
libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc
libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc
libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc
libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc
libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc

index 0e80977ecc5a996cdd980526f494b86e76620fd2..384052477717c3d534b75f8202de4a77f97396bb 100644 (file)
@@ -33,7 +33,7 @@ test1()
 }
 
 static_assert(test1()); // { dg-error "non-constant condition" }
-// { dg-error "_Error_formatter::_M_error()" "" { target *-*-* } 0 }
+// { dg-error "_Error_formatter::(_M_error|_S_at)" "" { target *-*-* } 0 }
 
 constexpr bool
 test2()
index 410c235adf9b02d4764140187fc9faf5c43ceb22..d5d84b1e290e70a62d439fd8d726cab40a6597b3 100644 (file)
@@ -35,4 +35,4 @@ test()
 
 static_assert(test()); // { dg-error "non-constant condition" }
 
-// { dg-prune-output "_Error_formatter::_M_error()" }
+// { dg-prune-output "_Error_formatter::(_M_error|_S_at)" }
index cbc75092f14511eb1e70d4ff5c321d7c5c24a168..6c1531d421279bfa296e020c3485efdc7b1f157c 100644 (file)
@@ -32,7 +32,7 @@ test01()
 }
 
 static_assert(test01()); // { dg-error "non-constant condition" }
-// { dg-error "_Error_formatter::_M_error()" "" { target *-*-* } 0 }
+// { dg-error "_Error_formatter::(_M_error|_S_at)" "" { target *-*-* } 0 }
 
 constexpr bool
 test02()
index c07145c19269999373933ff2cf0703a90ff1176b..b44cb4be1d90056dfa6bf1ea4be977d5df25ae5d 100644 (file)
@@ -43,5 +43,5 @@ test()
 
 static_assert(test()); // { dg-error "" }
 
-// { dg-prune-output "_Error_formatter::_M_error()" }
+// { dg-prune-output "_Error_formatter::(_M_error|_S_at)" }
 // { dg-prune-output "in 'constexpr'" }
index 09ae26f9b984296404dbc89046be31fe75a7ec0b..7835b30a0e490a22ac793350b06dfd9bfb0fae6f 100644 (file)
@@ -33,4 +33,4 @@ test()
 
 static_assert(test()); // { dg-error "" }
 
-// { dg-prune-output "_Error_formatter::_M_error()" }
+// { dg-prune-output "_Error_formatter::(_M_error|_S_at)" }
index 20eb026e728cc0802ac9abfe539fb06056a42d06..911880b59aa467070cb0ca3b627ab45881d27d57 100644 (file)
@@ -46,5 +46,5 @@ test2()
 
 static_assert(test2()); // { dg-error "" }
 
-// { dg-prune-output "_Error_formatter::_M_error()" }
+// { dg-prune-output "_Error_formatter::(_M_error|_S_at)" }
 
index ffe5d777ac628dac80043f081b85b78fe9a3763a..950d4325ff7c120bcf6e7cefa868961bbb9219c0 100644 (file)
@@ -43,4 +43,4 @@ test()
 
 static_assert(test()); // { dg-error "" }
 
-// { dg-prune-output "_Error_formatter::_M_error()" }
+// { dg-prune-output "_Error_formatter::(_M_error|_S_at)" }
index a1c2ce694bc189b71696b93f4af9cdc788374197..41eb00cf43912b0a1cdfd9d6cbb1ff39a503e567 100644 (file)
@@ -33,4 +33,4 @@ test()
 
 static_assert(test()); // { dg-error "" }
 
-// { dg-prune-output "_Error_formatter::_M_error()" }
+// { dg-prune-output "_Error_formatter::(_M_error|_S_at)" }
index c7c9e3b82a524abd2f3d6c003909506ed5426c2d..032c8d3050965d185ef1ab1f492e9463c6de5060 100644 (file)
@@ -46,4 +46,4 @@ test2()
 
 static_assert(test2()); // { dg-error "" }
 
-// { dg-prune-output "_Error_formatter::_M_error()" }
+// { dg-prune-output "_Error_formatter::(_M_error|_S_at)" }