[PR c++/90754] name lookup ICE
authorNathan Sidwell <nathan@acm.org>
Mon, 17 Jun 2019 13:46:59 +0000 (13:46 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 17 Jun 2019 13:46:59 +0000 (13:46 +0000)
commit41d93b16cac5b348b7883e259f7880b4a0addc23
tree402d5a220f3ffed7dc376786229270646c1ddd75
parent07c8304c06be23ce4eb580b637cda9be3784baff
[PR c++/90754] name lookup ICE

https://gcc.gnu.org/ml/gcc-patches/2019-06/msg00952.html
PR c++/90754
* name-lookup.c (lookup_type_scope_1): Calll qualify_lookup before
checking context.

PR c++/90754
* g++.dg/lookup/pr90754.C: New.

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