]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/90138
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Apr 2019 11:57:23 +0000 (11:57 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Apr 2019 11:57:23 +0000 (11:57 +0000)
commitdc097d0aa482f6e0b910dcde70bc7a0235d3c9e2
treea432e261665f348a9c862dea83bdbc6a2103063e
parent45cf699c55628f9b31135bf3afa141ca710d0a6d
PR c++/90138
* pt.c (process_template_parm): Set decl to pushdecl result.  If
!is_non_type, also set parm to that.

* g++.dg/template/pr90138.C: New test.

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