aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-11-10 14:11:27 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-11-11 04:00:58 +0000
commitfbad7a74aaaddea3d7b39045a09dd3860603658e (patch)
treef8b7cc95cbe4e6f7c27194ea90fcc487187a9841 /gcc
parentf54ae4da1f60f4a2dea22ef184941d953442b86d (diff)
downloadgcc-fbad7a74aaaddea3d7b39045a09dd3860603658e.zip
gcc-fbad7a74aaaddea3d7b39045a09dd3860603658e.tar.gz
gcc-fbad7a74aaaddea3d7b39045a09dd3860603658e.tar.bz2
libstdc++: Fix tests with non-const operator==
These tests fail in strict -std=c++20 mode but their equality ops don't need to be non-const, it looks like an accident. This fixes two FAILs with -std=c++20: FAIL: 20_util/tuple/swap.cc (test for excess errors) FAIL: 26_numerics/valarray/87641.cc (test for excess errors) libstdc++-v3/ChangeLog: * testsuite/20_util/tuple/swap.cc (MoveOnly::operator==): Add const qualifier. * testsuite/26_numerics/valarray/87641.cc (X::operator==): Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions