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++/49066] [C++0x] Non-defining declaration of deleted function suppresses usage validation


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-21 21:35:53 UTC ---
Author: jason
Date: Sat May 21 21:35:50 2011
New Revision: 174003

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174003
Log:
    PR c++/49066
    * decl.c (duplicate_decls): Preserve DECL_DELETED_FN.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/defaulted26.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/decl.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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