Re: [PATCH v2] c++: Extend std::is_constant_evaluated in if warning [PR100995]

2021-06-10 Thread Jason Merrill via Gcc-patches
On 6/10/21 7:04 PM, Marek Polacek wrote: On Thu, Jun 10, 2021 at 10:27:44AM -0400, Jason Merrill wrote: On 6/9/21 9:46 PM, Marek Polacek wrote: Jakub pointed me at which shows that our existing warning

Re: [PATCH v2] c++: Extend std::is_constant_evaluated in if warning [PR100995]

2021-06-10 Thread Marek Polacek via Gcc-patches
On Thu, Jun 10, 2021 at 10:27:44AM -0400, Jason Merrill wrote: > On 6/9/21 9:46 PM, Marek Polacek wrote: > > Jakub pointed me at > > > > which shows that our existing warning could be extended to handle more >