[Bug c++/60753] Deleted definition of an explicit function template specialization, following a declaration, incorrectly accepted
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 8 15:49:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60753
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Jan 8 15:48:36 2015
New Revision: 219347
URL: https://gcc.gnu.org/viewcvs?rev=219347&root=gcc&view=rev
Log:
/cp
2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60753
* decl.c (grokfndecl): Add bool parameter.
(grokdeclarator): Adjust calls.
(start_decl): Don't set DECL_DELETED_FN here.
/testsuite
2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60753
* g++.dg/cpp0x/deleted10.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/deleted10.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list