re PR c++/47705 (internal compiler error: in convert_nontype_argument, at cp/pt.c...
authorJason Merrill <jason@redhat.com>
Tue, 8 Mar 2011 17:30:36 +0000 (12:30 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 8 Mar 2011 17:30:36 +0000 (12:30 -0500)
commit8c0672ff889f51799324cc4cb2a3f1b396768349
tree16319377a1173742eb76ee4f4aade53817cf57db
parent2c86a82aa431b1fc370290103a95c67bc8602473
re PR c++/47705 (internal compiler error: in convert_nontype_argument, at cp/pt.c:5006)

PR c++/47705
* pt.c (convert_nontype_argument): Don't crash on non-pointer
argument to pointer parameter.

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