PR c++/50848
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Nov 2011 01:10:43 +0000 (01:10 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Nov 2011 01:10:43 +0000 (01:10 +0000)
commitfb4746c424b852960f6d46182522cad5351267e7
tree285d9544c124311722b9d98af5ed9439596be87f
parentaf4bddaa8ad5770cb5e4ce634e87d9a27fe25b35
PR c++/50848
* pt.c (tsubst_copy_and_build) [CALL_EXPR]: Don't crash
if lookup finds a non-function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181143 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/lookup9.C [new file with mode: 0644]