]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix PR c++/60052 and PR c++/60053.
authorAdam Butcher <adam@jessamine.co.uk>
Fri, 21 Feb 2014 07:47:55 +0000 (07:47 +0000)
committerAdam Butcher <abutcher@gcc.gnu.org>
Fri, 21 Feb 2014 07:47:55 +0000 (07:47 +0000)
commit2807d5d23841ba8e07591274fb82867274bd3fbe
tree60d53f80a20ab90add4fcf4cdf2b8396b7bc5df3
parent76a4b7ad2d7d071458a4cb4d8515c14b9abf0d19
Fix PR c++/60052 and PR c++/60053.

PR c++/60052
PR c++/60053
* parser.c (cp_parser_parameter_declaration_list): Correctly reset
implicit_template_scope upon leaving an out-of-line generic member
function definition.

PR c++/60052
PR c++/60053
* g++.dg/cpp1y/pr60052.C: New testcase.
* g++.dg/cpp1y/pr60053.C: New testcase.

From-SVN: r207980
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/pr60052.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/pr60053.C [new file with mode: 0644]