https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635

--- Comment #5 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
r231665 lost the diagnostic

+2015-12-15  Martin Sebor  <mse...@redhat.com>
+
+       c++/42121
+       * tree-chkp.c (chkp_find_bound_slots_1): Handle flexible array
+       members.
+       * tree.c (type_contains_placeholder_1): Avoid assuming type has
+       a non-null domain or an upper bound to handle flexible array
+       members.
+       * varasm.c (output_constructor_regular_field):  Same.
+       (output_constructor): Set min_index to integer_zero_node rather
+       than null when a type has no domain to avoid crashing later.
+

Reply via email to