aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-06-01 16:49:53 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-06-01 16:54:24 +0100
commitf8403c43045cd56b5f775e1cf12a3f22feca4b58 (patch)
tree60de07d81d3a63e221bca9a428eac0896c921dca /gcc
parentfe94f8b7e022b7e154f6c47cc292d4463bddac5e (diff)
downloadgcc-f8403c43045cd56b5f775e1cf12a3f22feca4b58.zip
gcc-f8403c43045cd56b5f775e1cf12a3f22feca4b58.tar.gz
gcc-f8403c43045cd56b5f775e1cf12a3f22feca4b58.tar.bz2
libstdc++: Fix PSTL test that fails in C++20
This test fails in C++20 and later due to a warning: warning: C++20 says that these are ambiguous, even though the second is reversed: note: candidate 1: 'bool MyClass::operator==(const MyClass&)' note: candidate 2: 'bool MyClass::operator==(const MyClass&)' (reversed) note: try making the operator a 'const' member function FAIL: 26_numerics/pstl/numeric_ops/transform_reduce.cc (test for excess errors) libstdc++-v3/ChangeLog: * testsuite/26_numerics/pstl/numeric_ops/transform_reduce.cc: Add const to equality operator.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions