]> gcc.gnu.org Git - gcc.git/commit
re PR c++/60626 ([c++1y] ICE with pointer to function with auto parameter)
authorAdam Butcher <adam@jessamine.co.uk>
Sat, 29 Mar 2014 19:23:44 +0000 (19:23 +0000)
committerAdam Butcher <abutcher@gcc.gnu.org>
Sat, 29 Mar 2014 19:23:44 +0000 (19:23 +0000)
commit4b0040a6a506a01a3f001f9d3be08bb75036eec5
treea3f060945b4dda1dcf23301e7d5d7e77f32baf8d
parentcfdc23868bf063bd21d0913092e8f4a4a761de5f
re PR c++/60626 ([c++1y] ICE with pointer to function with auto parameter)

Fix PR c++/60626

PR c++/60626
* parser.c (cp_parser_init_declarator): Handle erroneous generic type
usage in non-functions with pushed scope.

PR c++/60626
* g++.dg/cpp1y/pr60626.C: New testcase.

From-SVN: r208940
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/pr60626.C [new file with mode: 0644]
This page took 0.05646 seconds and 5 git commands to generate.