This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51048] Class template inheritance doesn't work well with function-local types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]