Asserting !BRACE_ENCLOSED_INITIALIZER_P seems pretty pointless, since
that checks for init_list_type_node, and a compound literal won't have
that type, nor will we see that type if we just checked that it's
something else.
* decl.c (reshape_init_r): Remove assert.
From-SVN: r279771
+2019-12-30 Marek Polacek <polacek@redhat.com>
+
+ * decl.c (reshape_init_r): Remove assert.
+
2019-12-30 Paolo Carlini <paolo.carlini@oracle.com>
* decl2.c (delete_sanity): Add location_t parameter and use
else if (same_type_ignoring_top_level_qualifiers_p (type, init_type))
{
++d->cur;
- gcc_assert (!BRACE_ENCLOSED_INITIALIZER_P (stripped_init));
return init;
}
else