PR c++/80840 - ICE with constexpr and reference
commitad99200ff7e8b1e4c8e11771bdd852647b503923
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 May 2017 17:11:17 +0000 (31 17:11 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 May 2017 17:11:17 +0000 (31 17:11 +0000)
tree8f309764aa69498447ce8d6c5433923406581bac
parentbe2b7add261fc64e97e9b36b3357a553ce383522
PR c++/80840 - ICE with constexpr and reference

* pt.c (convert_nontype_argument): Don't test whether a decl is
value-dependent when binding to a reference.

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