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

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I'm finishing testing this:

Index: init.c
===================================================================
--- init.c    (revision 202020)
+++ init.c    (working copy)
@@ -1465,6 +1465,7 @@ build_aggr_init (tree exp, tree init, int flags, t
   TREE_THIS_VOLATILE (exp) = 0;

   if (init && TREE_CODE (init) != TREE_LIST
+      && init != void_type_node
       && !(TREE_CODE (init) == TARGET_EXPR
        && TARGET_EXPR_DIRECT_INIT_P (init))
       && !(BRACE_ENCLOSED_INITIALIZER_P (init)

Reply via email to