Re: [PATCH 1/2] c++: make manifestly_const_eval tri-state

2023-02-03 Thread Patrick Palka via Gcc-patches
On Mon, 30 Jan 2023, Jason Merrill wrote: > On 1/27/23 17:02, Patrick Palka wrote: > > This patch turns the manifestly_const_eval flag used by the constexpr > > machinery into a tri-state enum so that we're able to express wanting > > to fold __builtin_is_constant_evaluated to false via late specu

Re: [PATCH 1/2] c++: make manifestly_const_eval tri-state

2023-01-30 Thread Jason Merrill via Gcc-patches
On 1/27/23 17:02, Patrick Palka wrote: This patch turns the manifestly_const_eval flag used by the constexpr machinery into a tri-state enum so that we're able to express wanting to fold __builtin_is_constant_evaluated to false via late speculative constexpr evaluation. Of all the entry points t