diff options
author | Nathan Sidwell <nathan@acm.org> | 2021-03-11 13:06:36 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2021-03-11 13:13:12 -0800 |
commit | 5f27a9f90d4eadadf937f1a5d0bfccf39261f330 (patch) | |
tree | dda50bfbe17510a9b250fd099d548d20f16ccfe7 /gcc/ada/gcc-interface/utils.c | |
parent | 5643f6f396ef7f60d317aef07dd98978cec6afd0 (diff) | |
download | gcc-5f27a9f90d4eadadf937f1a5d0bfccf39261f330.zip gcc-5f27a9f90d4eadadf937f1a5d0bfccf39261f330.tar.gz gcc-5f27a9f90d4eadadf937f1a5d0bfccf39261f330.tar.bz2 |
c++: Fix unhiding friend with imports [PR 99248]
This was a simple thinko about which object held the reference to the
binding vector. I also noticed stale code in the tree dumper, as I
recently removed the flags from a lazy number.
PR c++/99248
gcc/cp/
* name-lookup.c (lookup_elaborated_type_1): Access slot not bind
when there's a binding vector.
* ptree.c (cxx_print_xnode): Lazy flags are no longer a thing.
gcc/testsuite/
* g++.dg/modules/pr99248.h: New.
* g++.dg/modules/pr99248_a.H: New.
* g++.dg/modules/pr99248_b.H: New.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions