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

"ppalka 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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=126335
            Summary|Wrong initialization        |[16/17 Regression] Wrong
                   |(zero-initialization) in    |initialization
                   |initializer_list            |(zero-initialization) in
                   |                            |initializer_list
   Target Milestone|---                         |16.3
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> ---
We could consider this a 16 regression due to the -std=c++17 -> -std=c++20
default std dialect change in GCC 16. It seems recently fixed on trunk by
Marek's r17-2835-ge3da9acc2462e4 for PR126335.
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.