aboutsummaryrefslogtreecommitdiff
path: root/libgomp/config
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-11-14 15:08:13 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-11-15 11:16:49 +0000
commit452476db0c705caeac8712d560fc16ced0ca5226 (patch)
treeb6723b5a3b8f75cc29fb15d98ef46cf5c9ed3fc0 /libgomp/config
parentcbd0fe22a5ced9751d2450dc4fd6fe3525c2fc02 (diff)
downloadgcc-452476db0c705caeac8712d560fc16ced0ca5226.zip
gcc-452476db0c705caeac8712d560fc16ced0ca5226.tar.gz
gcc-452476db0c705caeac8712d560fc16ced0ca5226.tar.bz2
libstdc++: Fix std::deque::operator[] Xmethod [PR112491]
The Xmethod for std::deque::operator[] has the same bug that I recently fixed for the std::deque::size() Xmethod. The first node might have unused capacity at the start, which needs to be accounted for when indexing into the deque. libstdc++-v3/ChangeLog: PR libstdc++/112491 * python/libstdcxx/v6/xmethods.py (DequeWorkerBase.index): Correctly handle unused capacity at the start of the first node. * testsuite/libstdc++-xmethods/deque.cc: Check index operator when elements have been removed from the front.
Diffstat (limited to 'libgomp/config')
0 files changed, 0 insertions, 0 deletions