diff options
author | Patrick Palka <ppalka@redhat.com> | 2022-09-29 16:27:30 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2022-09-29 16:27:30 -0400 |
commit | c2ee70f20de8133a88553270073226b0f3f55f62 (patch) | |
tree | e1766651c58ad168f649c81630633e992277759e /gcc/value-relation.h | |
parent | 04d54b70fe2c3d69eb1d08f7212f01c8a972b701 (diff) | |
download | gcc-c2ee70f20de8133a88553270073226b0f3f55f62.zip gcc-c2ee70f20de8133a88553270073226b0f3f55f62.tar.gz gcc-c2ee70f20de8133a88553270073226b0f3f55f62.tar.bz2 |
c++: implicit lookup of std::initializer_list [PR102576]
Here the lookup for the implicit use of std::initializer_list fails
because we do it using get_namespace_binding, which isn't import aware.
Fix this by using lookup_qualified_name instead.
PR c++/102576
gcc/cp/ChangeLog:
* pt.cc (listify): Use lookup_qualified_name instead of
get_namespace_binding.
gcc/testsuite/ChangeLog:
* g++.dg/modules/pr102576_a.H: New test.
* g++.dg/modules/pr102576_b.C: New test.
Diffstat (limited to 'gcc/value-relation.h')
0 files changed, 0 insertions, 0 deletions