This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51048] Class template inheritance doesn't work well with function-local types
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Oct 2015 13:16:02 +0000
- Subject: [Bug c++/51048] Class template inheritance doesn't work well with function-local types
- Auto-submitted: auto-generated
- References: <bug-51048-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51048
--- Comment #9 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Oct 12 13:15:30 2015
New Revision: 228714
URL: https://gcc.gnu.org/viewcvs?rev=228714&root=gcc&view=rev
Log:
/cp
2015-10-12 Paolo Carlini <paolo.carlini@oracle.com>
Backport from mainline
2015-06-15 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51048
* decl2.c (no_linkage_error): Do not issue a permerror if the DECL
using a local type is pure virtual.
/testsuite
2015-10-12 Paolo Carlini <paolo.carlini@oracle.com>
Backport from mainline
2015-06-15 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51048
* g++.dg/cpp0x/local-type1.C: New.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/local-type1.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/decl2.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog