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++/58582] [c++11] ICE defining and instantiating deleted template function


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58582

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sat May  3 22:44:22 2014
New Revision: 210043

URL: http://gcc.gnu.org/viewcvs?rev=210043&root=gcc&view=rev
Log:
/cp
2014-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58582
    * decl.c (grokfndecl): Check duplicate_decls return value for
    error_mark_node.
    * pt.c (instantiate_decl): A deleted function is defined.

/testsuite
2014-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58582
    * g++.dg/cpp0x/deleted4.C: New.
    * g++.dg/cpp0x/deleted5.C: Likewise.
    * g++.dg/cpp0x/deleted6.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/deleted4.C
    trunk/gcc/testsuite/g++.dg/cpp0x/deleted5.C
    trunk/gcc/testsuite/g++.dg/cpp0x/deleted6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


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