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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:6c72f1bfc3469422460d86314a081353632d4bcb

commit r13-1227-g6c72f1bfc3469422460d86314a081353632d4bcb
Author: Jason Merrill <ja...@redhat.com>
Date:   Thu Jun 23 14:41:19 2022 -0400

    c++: designated init cleanup [PR105925]

    build_aggr_conv expects to run after reshape_init, which will usually have
    filled out all the CONSTRUCTOR indexes; there's no reason to limit using
    those to the case where the user gave an explicit designator.

            PR c++/105925

    gcc/cp/ChangeLog:

            * call.cc (build_aggr_conv): Don't depend on
            CONSTRUCTOR_IS_DESIGNATED_INIT.

Reply via email to