PR c++/82664 - ICE with reference to function template parm.
commitd3bed086c2c09fb879969f2fadc639165ad509af
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2018 19:06:34 +0000 (16 19:06 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2018 19:06:34 +0000 (16 19:06 +0000)
tree7785b237492c7ae0f49fd6a005a815047b2b3251
parente7db8bd2e86b6af7ec997a977a930b880fd196fd
PR c++/82664 - ICE with reference to function template parm.

* pt.c (convert_nontype_argument_function): Avoid obfuscationg
NOP_EXPRs.

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