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

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

https://gcc.gnu.org/g:d2b8724451f52a656d10f7d34f6a4e3d7602ed28

commit r17-3019-gd2b8724451f52a656d10f7d34f6a4e3d7602ed28
Author: Jakub Jelinek <[email protected]>
Date:   Thu Aug 6 11:30:20 2026 +0200

    c++: Reject std::initializer_list with bases [PR125647]

    The following testcase shows that declaring std::initializer_list<T>
    with bases can lead to ICEs, right now we were just testing that
    it is a class template, not a union, and contains one pointer member
    and one size_t member.

    2026-08-06  Jakub Jelinek  <[email protected]>

            PR c++/125647
            * class.cc (finish_struct): Reject std::initializer_list template
            with bases.

            * g++.dg/cpp0x/initlist134.C: New test.

    Reviewed-by: Jason Merrill <[email protected]>
  • [Bug c++/125647] ICE after an e... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to