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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <[email protected]>:

https://gcc.gnu.org/g:49625b429b146235caf9066c54e106580935b9f8

commit r17-6175-g49625b429b146235caf9066c54e106580935b9f8
Author: Jason Merrill <[email protected]>
Date:   Sat Nov 7 17:30:14 2026 -0500

    c++: aggregate init issues

    A couple of cases where the asserts need loosening.  Thanks to Marek for
    suggesting the fix for 127516.

            PR c++/128532
            PR c++/127516

    gcc/cp/ChangeLog:

            * decl.cc (reshape_init_r): Also treat a vector as aggregate.
            (reshape_init): The old designated initializer extension
            allows designators with brace elision.

    gcc/testsuite/ChangeLog:

            * g++.dg/ext/desig12.C: New test.
            * g++.dg/ext/desig13.C: New test.

Reply via email to