PR c++/84720 - ICE with rvalue ref non-type argument.
authorJason Merrill <jason@redhat.com>
Fri, 16 Mar 2018 18:56:06 +0000 (14:56 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Mar 2018 18:56:06 +0000 (14:56 -0400)
commit83484be8b822c6a7b08e15e42fac348124455713
treecdc38c03c2d7c299dc597cfb2aabddfe9fc56858
parent80fdaad1c73fd73b30ba10d0a67fd82a3cae52b2
PR c++/84720 - ICE with rvalue ref non-type argument.

* pt.c (invalid_nontype_parm_type_p): Prohibit rvalue reference.
(convert_nontype_argument): Revert earlier change.

From-SVN: r258605
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/rv-targ1.C