From patchwork Fri Nov 23 16:17:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [C++] Fix PR 55418 Date: Fri, 23 Nov 2012 06:17:21 -0000 From: Paolo Carlini X-Patchwork-Id: 201367 Message-Id: <50AFA191.3030204@oracle.com> To: Jason Merrill Cc: Jakub Jelinek , Markus Trippelsdorf , gcc-patches@gcc.gnu.org ... thus we could also do the below, for example. Actually I probably like it a tad better ;) Paolo. //////////////// Index: method.c =================================================================== --- method.c (revision 193758) +++ method.c (working copy) @@ -1175,6 +1175,7 @@ synthesized_method_walk (tree ctype, special_funct || sfk == sfk_copy_assignment)) { *deleted_p = true; + *trivial_p = false; return; }