re PR c++/50848 (ICE in derived template class missing using for member of template...
authorJason Merrill <jason@redhat.com>
Tue, 8 Nov 2011 01:10:43 +0000 (20:10 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 8 Nov 2011 01:10:43 +0000 (20:10 -0500)
commit7e72c65d183305bf9986be8404e01047a0a3d07b
tree285d9544c124311722b9d98af5ed9439596be87f
parent029ac5f967194c0570c3176edd06301dcbab7cb1
re PR c++/50848 (ICE in derived template class missing using for member of template base class)

PR c++/50848
* pt.c (tsubst_copy_and_build) [CALL_EXPR]: Don't crash
if lookup finds a non-function.

From-SVN: r181143
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/lookup9.C [new file with mode: 0644]