[PR c++/84702] ICE with default tmpl arg of overload set
authorNathan Sidwell <nathan@acm.org>
Mon, 5 Mar 2018 18:44:24 +0000 (18:44 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 5 Mar 2018 18:44:24 +0000 (18:44 +0000)
commitf7af3ad6372ccc17f9d3d43566298ac843adfd67
tree3d3337c6e83407d6dcc12a19b335e5191d3a90be
parent537400180d36469bf97daeb28d23161fe9ed022a
[PR c++/84702] ICE with default tmpl arg of overload set

https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00227.html
PR c++/84702
* pt.c (process_template_arg): Mark lookup_keep on a default arg.

PR c++/84702
* g++.dg/lookup/pr84702.C: New.

From-SVN: r258258
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/pr84702.C [new file with mode: 0644]