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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[13/14/15/16 Regression]    |[13/14/15/16 Regression]
                   |ICE in                      |ICE in
                   |build_data_member_initializ |build_data_member_initializ
                   |ation when compiling        |ation when compiling
                   |constexpr constructor with  |constexpr constructor with
                   |nested non-literal types    |nested non-literal types
                   |(C++23)                     |(C++23) since r5-5013
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
struct S {
  constexpr S() {
    struct I {
      S s;
    };
    struct {
      I i;
    } o {};
  }
};

ICEs starting with r5-5013-g60813a463b1e1398cd9786b8c4761283efefb831

Reply via email to