re PR c++/47705 (internal compiler error: in convert_nontype_argument, at cp/pt.c...
authorDodji Seketeli <dodji@redhat.com>
Tue, 8 Mar 2011 22:02:59 +0000 (22:02 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 8 Mar 2011 22:02:59 +0000 (17:02 -0500)
commit918f238e7f736ee291d76e77fcefdaee761bf167
tree9e34e9175aa63544f2ab93ee0e71a2246845d64a
parentef78aed645ba8b781a9a78412669738dc7871c6a
re PR c++/47705 (internal compiler error: in convert_nontype_argument, at cp/pt.c:5006)

PR c++/47705
* pt.c (convert_nontype_argument): Only call decay_conversion on
arrays.

From-SVN: r170791
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/nontype21.C