[Bug c++/126472] [16 Regression] Wrong initialization (zero-initialization) in initializer_list

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126472

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <[email protected]>:

https://gcc.gnu.org/g:222f7f90191563a71dfbc710c8de950ace91c439

commit r17-3480-g222f7f90191563a71dfbc710c8de950ace91c439
Author: Patrick Palka <[email protected]>
Date:   Thu Aug 20 16:58:18 2026 -0400

    c++: add fixed test [PR126472]

    Fixed by r17-2835 for PR c++/126335 and, unlike that PR's testcase, did
    not depend on r17-1661 to trigger the bug.

            PR c++/126472

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp0x/initlist135.C: New test.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.