[PR c++/84836] ICE with local scopes
authorNathan Sidwell <nathan@acm.org>
Wed, 21 Mar 2018 10:59:28 +0000 (10:59 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 21 Mar 2018 10:59:28 +0000 (10:59 +0000)
commit7cd9cf2f0bc24499c292896f951c2a34875637f0
treefea6c56fd2e95cd4b1bab13131e8b67686060baf
parent49e4ca31396d129759ac1bfc2ffbd3f87aeb53cb
[PR c++/84836] ICE with local scopes

https://gcc.gnu.org/ml/gcc-patches/2018-03/msg01082.html
PR c++/84836
* name-lookup.c (update_binding): Correct logic for local binding
update.

PR c++/84836
* g++.dg/lookup/pr84836.C: New.

From-SVN: r258711
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr84836.C [new file with mode: 0644]