aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2023-12-18 15:47:10 -0500
committerJason Merrill <jason@redhat.com>2024-01-12 12:14:36 -0500
commit27521a2f4f7b859d5656e5bdd69d3f759ea4c23a (patch)
tree4dd1dcd7b4ccc4d33bf89e20555e3bacaa6714ee /.github
parent9dadc9ccddacc984dbbad1f2cc6fd12ee63fee01 (diff)
downloadgcc-27521a2f4f7b859d5656e5bdd69d3f759ea4c23a.zip
gcc-27521a2f4f7b859d5656e5bdd69d3f759ea4c23a.tar.gz
gcc-27521a2f4f7b859d5656e5bdd69d3f759ea4c23a.tar.bz2
c++: __class_type_info and modules [PR113038]
Doing a dynamic_cast in both TUs broke because we were declaring a new __class_type_info in _b that conflicted with the one imported in the global module from _a. It seems clear to me that any new class declaration in the global module should merge with an imported definition, but for GCC 14 let's just fix this for the specific case of __class_type_info. PR c++/113038 gcc/cp/ChangeLog: * name-lookup.cc (lookup_elaborated_type): Look for bindings in the global namespace in the ABI namespace. gcc/testsuite/ChangeLog: * g++.dg/modules/pr106304_b.C: Add dynamic_cast.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions