[C++] Fix PR 55418

Submitted by Paolo Carlini on Nov. 23, 2012, 4:17 p.m.

Details

Message ID 50AFA191.3030204@oracle.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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