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

--- Comment #9 from Will Wray <wjwray at gmail dot com> ---
Adding a reshape_iter, and checking has_designator_problem,
for a brace-enclosed string-literal fixes this secondary issue

+         reshape_iter e {CONSTRUCTOR_ELT (stripped_a_init, 0), e.cur + 1};
+         if (has_designator_problem (&e, complain))
+           return error_mark_node;

(this breaks J.R.Heisey's workaround, correctly rejecting it as an error).

Reply via email to