[pr84733] Fix ICE popping local scope
authorNathan Sidwell <nathan@acm.org>
Fri, 27 Mar 2020 20:09:12 +0000 (13:09 -0700)
committerNathan Sidwell <nathan@acm.org>
Fri, 27 Mar 2020 20:09:12 +0000 (13:09 -0700)
commitc7fc15f54b321b2522ae26abebb86957de5c6fae
tree8d01a790dc1cf2a91419db288f307e6bd2211d33
parentccacf77be5508dd5b4df59f402965196d11edb05
[pr84733]  Fix ICE popping local scope

PR c++/84733
* name-lookup.c (do_pushdecl): Look through cleanp levels.
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/g++.dg/lookup/pr84733.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/pr94257.C [new file with mode: 0644]