http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53733
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-10 00:05:53 UTC --- Author: jason Date: Tue Jul 10 00:05:50 2012 New Revision: 189398 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189398 Log: DR 1402 PR c++/53733 * cp-tree.h (FNDECL_SUPPRESS_IMPLICIT_DECL): New. (struct lang_decl_fn): Add suppress_implicit_decl field. * method.c (implicitly_declare_fn): Check it. (process_subob_fn): Add no_implicit_p parm. (walk_field_subobs, synthesized_method_walk): Likewise. (maybe_explain_implicit_delete): Adjust. (explain_implicit_non_constexpr): Adjust. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/defaulted36.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/cp-tree.h branches/gcc-4_7-branch/gcc/cp/method.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/defaulted21.C