[Bug c++/49066] [C++0x] Non-defining declaration of deleted function suppresses usage validation

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat May 21 22:18:00 GMT 2011


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



More information about the Gcc-bugs mailing list