Re: [PATCH] c++: constexpr error with defaulted virtual dtor [PR93413]

2022-11-03 Thread Jason Merrill via Gcc-patches
On 11/3/22 08:33, Patrick Palka wrote: We're rejecting the below testcase with error: 'virtual constexpr Base::~Base()' used before its definition error: 'virtual constexpr Derived::~Derived()' used before its definition due to an early exit added to mark_used by r181272 to defer synthesi

[PATCH] c++: constexpr error with defaulted virtual dtor [PR93413]

2022-11-03 Thread Patrick Palka via Gcc-patches
We're rejecting the below testcase with error: 'virtual constexpr Base::~Base()' used before its definition error: 'virtual constexpr Derived::~Derived()' used before its definition due to an early exit added to mark_used by r181272 to defer synthesis of virtual destructors until EOF where we