I had another change to <bits/random.h> in my local tree which affected the second dg-error and I "fixed" it unnecessarily. I've tested with a clean tree this time.
Tested aarch64-linux. Pushed to trunk. -- >8 -- PR libstdc++/87744 PR libstdc++/113961 libstdc++-v3/ChangeLog: * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error line number. --- libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc b/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc index 9d6925fb416..3c5aa7feefc 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc @@ -12,4 +12,4 @@ auto x = std::generate_canonical<std::size_t, // { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 270 } -// { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 3350 } +// { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 3351 } -- 2.43.0