aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-10-31 13:17:48 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-10-31 13:17:48 +0000
commitb3ffa117e5cc0e0451ab1fb2aafd6ca56258912b (patch)
tree290c2c9e5ea352b33b0f217bb8a5022ea4230a62 /libcpp
parentbeaecb2d6b2f3c48740b7b8749ee2d2468c8dc14 (diff)
downloadgcc-b3ffa117e5cc0e0451ab1fb2aafd6ca56258912b.zip
gcc-b3ffa117e5cc0e0451ab1fb2aafd6ca56258912b.tar.gz
gcc-b3ffa117e5cc0e0451ab1fb2aafd6ca56258912b.tar.bz2
Remove PR 92268 workaround and fix new test failures
With the compiler bug fixed we can simplify the __sizable concept to use a return-type-requirement again. I also realised it was redundantly re-checking a subset of the sized_sentinel_for requirements. The compiler fix also revealed bugs in two tests which started to fail and are fixed by this patch. * include/bits/range_access.h (__sizable): Rename to __sentinel_size. Remove workaround for PR c++/92268 and remove redundant requirements that are already checked by sized_sentinel_for. * testsuite/std/ranges/access/cend.cc: Fix failures. * testsuite/std/ranges/access/end.cc: Likewise. From-SVN: r277667
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions