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

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #9)
> So, shall we never try ck_list conversion for CONSTRUCTORs with any
> designators (while for -std=c++2a we'll complain if there is a mix of
> designated initializer clauses and non-designated initializ clauses, I think
> we don't diagnose that earlier, so maybe we need to cache it in some
> CONSTRUCTOR flag?), or never any conversion but ck_aggr?

If there are designated initializers, ck_aggr is the only thing that makes
sense.

Reply via email to