https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88110
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> --- Possible candidate for the regression is r264408 - which adds the "case OBJ_TYPE_REF" code to cxx_eval_constant_expression() (the failure is in this part). Namely, it adds: P1064R0 - Allowing Virtual Function Calls in Constant Expressions * constexpr.c (cxx_eval_constant_expression): Don't ignore _vptr's initializer. Handle OBJ_TYPE_REF. ...