On 06/04/2014 04:17 PM, Paolo Carlini wrote:
-      if (TREE_CODE (init) == TREE_LIST
-              && TREE_CODE (TREE_TYPE (decl)) == ARRAY_TYPE)
-       {
-         error ("cannot initialize arrays using this syntax");
-         return NULL_TREE;
-       }
-      else
-       /* We get here with code like `int a (2);' */
-       init = build_x_compound_expr_from_list (init, ELK_INIT,
-                                               tf_warning_or_error);
+      /* We get here with code like `int a (2);' */
+      init = build_x_compound_expr_from_list (init, ELK_INIT,
+                                             tf_warning_or_error);

I believe this hunk is no longer needed, but it's a good cleanup anyway. The patch is OK.

Jason

Reply via email to