https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125539
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE on define_aggregate in |[14/15/16/17 Regression]
|comma expression |ICE on define_aggregate in
| |comma expression since
| |r14-4796
Target Milestone|--- |14.4
CC| |ppalka at gcc dot gnu.org
Blocks|123615 |
Ever confirmed|0 |1
Last reconfirmed| |2026-06-01
Status|UNCONFIRMED |NEW
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This actually has nothing to do with reflection.
struct A {};
struct B;
constexpr void foo () {}
template <typename T>
constexpr static A a = (foo (), A {});
ICEs too (e.g. with -std=c++17) since
r14-4796-g3e3d73ed5e85e7f467c366e9ad219d558ef9cb79
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123615
[Bug 123615] (c++-reflection) - [meta-bug] reflection issue