]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/ChangeLog
PR c++/89966 - error with non-type auto tparm.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Apr 2019 02:50:52 +0000 (02:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Apr 2019 02:50:52 +0000 (02:50 +0000)
commit1a08779b89cee120afe057ba013ad7e92e62798f
tree9f97099ae79459fe66457bab2f4aadd9040939ae
parent80d040496626199eb71219593cc941bb7fe22eca
PR c++/89966 - error with non-type auto tparm.

My patch for PR 86932 broke this testcase by passing tf_partial to
coerce_template_template_parms, which prevented do_auto_deduction from
actually replacing the auto.

* pt.c (do_auto_deduction): Clear tf_partial.

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