https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98752
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Due to the consteval we call cxx_constant_value with S1::S1 (&((struct S2 *) this)->x, NON_LVALUE_EXPR <0>) and ((struct S2 *) this)->x arguments. Shall we turn it into construction on a dummy object instead somewhere, or shall cxx_eval_* for arguments equal to ctx->object be more permissive in certain cases?