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

--- Comment #4 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:6876b269bc7fe6465fedfed87c31e6175992129f

commit r10-7031-g6876b269bc7fe6465fedfed87c31e6175992129f
Author: Jason Merrill <ja...@redhat.com>
Date:   Wed Mar 4 12:08:42 2020 -0500

    c++: Fix [[no_unique_address]] and default mem-init [PR90432]

    output_constructor doesn't like two consecutive entries with fields at the
    same position; let's avoid adding the one for the empty field.

    gcc/cp/ChangeLog
    2020-03-04  Jason Merrill  <ja...@redhat.com>

        PR c++/90432
        * init.c (perform_member_init): Don't do aggregate initialization of
        empty field.
        * constexpr.c (cx_check_missing_mem_inits): Don't enforce
        initialization of empty field.

Reply via email to