aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-08-26 17:30:31 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-08-26 17:44:23 +0100
commit9f9c0549dd42e85e2500ca67cef89dddb142c0c7 (patch)
tree51a76f6b33ad81457cbacd2d8a14101f9117cf94 /libgo
parentb6cd5c3786cd3cdaa794574518585caba9822b09 (diff)
downloadgcc-9f9c0549dd42e85e2500ca67cef89dddb142c0c7.zip
gcc-9f9c0549dd42e85e2500ca67cef89dddb142c0c7.tar.gz
gcc-9f9c0549dd42e85e2500ca67cef89dddb142c0c7.tar.bz2
libstdc++: Fix regression in hash containers
A recent change altered the layout of EBO-helper base classes, resulting in an ambiguity when the hash function and equality predicate are the same type. This modifies the type of one of the base classes, so that we don't get two base classes of the same type. libstdc++-v3/ChangeLog: * include/bits/hashtable_policy.h (_Hash_code_base): Change index of _Hashtable_ebo_helper base class. * testsuite/23_containers/unordered_map/dup_types.cc: New test.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions