]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/60167 (Bogus error: conflicting declaration)
authorJason Merrill <jason@redhat.com>
Fri, 21 Feb 2014 14:00:44 +0000 (09:00 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 21 Feb 2014 14:00:44 +0000 (09:00 -0500)
commita866509aeb4f15738fe362a113265c2fcfe943d5
treef6725d3d90a3c35c4a4c999a049320a7790a6ab3
parent0a39d07b814b70f3f498368e6c0579fb56a87e2a
re PR c++/60167 (Bogus error: conflicting declaration)

PR c++/60167
PR c++/60222
PR c++/58606
* parser.c (cp_parser_template_argument): Restore dereference.
* pt.c (template_parm_to_arg): Dereference non-pack expansions too.
(process_partial_specialization): Handle deref.
(unify): Likewise.

From-SVN: r207994
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/ref7.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/ref8.C [new file with mode: 0644]