aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-11-16 21:03:21 +0000
committerJonathan Wakely <jwakely@redhat.com>2021-11-17 17:21:24 +0000
commit054bf99841aad3869c70643b2ba2d9f85770c980 (patch)
tree32f79aea7584caae05ee00d1cf807a0bc5d8e3a1 /libcpp
parentc70546482388951b5c9c19cff002ee6ab920b7f5 (diff)
downloadgcc-054bf99841aad3869c70643b2ba2d9f85770c980.zip
gcc-054bf99841aad3869c70643b2ba2d9f85770c980.tar.gz
gcc-054bf99841aad3869c70643b2ba2d9f85770c980.tar.bz2
libstdc++: Fix std::type_info::before for ARM [PR103240]
The r179236 fix for std::type_info::operator== should also have been applied to std::type_info::before. Otherwise two distinct types can compare equivalent due to using a string comparison, when they should do a pointer comparison. libstdc++-v3/ChangeLog: PR libstdc++/103240 * libsupc++/tinfo2.cc (type_info::before): Use unadjusted name to check for the '*' prefix. * testsuite/util/testsuite_shared.cc: Add type_info object for use in new test. * testsuite/18_support/type_info/103240.cc: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions