[Bug c++/123564] [13/14/15/16 Regression] ICE in break_out_target_exprs, at cp/tree.cc:3438 with -std=c++23 flag

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 14 00:57:25 GMT 2026


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Slightly cleaned up so it is only constexpr where the error is with:
```

struct Container {
  Container();
};
struct S {
  constexpr S() { Container c; }
  constexpr operator bool() { return 0; }
  template <int> void foo() { static_assert(S()); }
};
```


More information about the Gcc-bugs mailing list