Patchwork [C++] Fix PR 55418

login
register
mail settings
Submitter Paolo Carlini
Date Nov. 23, 2012, 4:17 p.m.
Message ID <50AFA191.3030204@oracle.com>
Download mbox | patch
Permalink /patch/201367/
State New
Headers show

Comments

Paolo Carlini - Nov. 23, 2012, 4:17 p.m.
... thus we could also do the below, for example. Actually I probably 
like it a tad better ;)

Paolo.

////////////////

Patch

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;
 	}