re PR c++/80866 (segfault in is_overloaded_fn())
authorNathan Sidwell <nathan@acm.org>
Tue, 23 May 2017 17:04:56 +0000 (17:04 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 23 May 2017 17:04:56 +0000 (17:04 +0000)
commit6131102ce3f1ac19a9c6637827b1f4dff9eea97b
treeedabca55a819f56695f04ed2eceaf24350dafd87
parent1b4b1fc7cab09c63681cd4deeddcb81a4ee90d1b
re PR c++/80866 (segfault in is_overloaded_fn())

PR c++/80866
* parser.c (cp_parser_template_id): Keep the lookup when stashing
the template_id.

PR c++/80866
* g++.dg/parse/pr80866.C: New.

From-SVN: r248377
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/pr80866.C [new file with mode: 0644]