http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55418



--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 
2012-11-21 14:08:12 UTC ---

The following trivial patch fixes the issue:



diff --git a/gcc/cp/method.c b/gcc/cp/method.c

index 6dcb63a..3cb4ace 100644

--- a/gcc/cp/method.c

+++ b/gcc/cp/method.c

@@ -1518,7 +1518,7 @@ implicitly_declare_fn (special_function_kind kind, tree

type,

   tree name;

   HOST_WIDE_INT saved_processing_template_decl;

   bool deleted_p;

-  bool trivial_p;

+  bool trivial_p = false;

   bool constexpr_p;



   /* Because we create declarations for implicitly declared functions

Reply via email to