Re: [PATCH] c++: 'mutable' subobject of constexpr variable [PR109745]

2023-05-11 Thread Jason Merrill via Gcc-patches
On 5/11/23 14:30, Patrick Palka wrote: r13-2701-g7107ea6fb933f1 made us correctly accept 'mutable' member accesses during constexpr evaluation of objects constructed during that evaluation, while continuing to reject such accesses for constexpr objects constructed outside of that evaluation, by c

Re: [PATCH] c++: 'mutable' subobject of constexpr variable [PR109745]

2023-05-11 Thread Patrick Palka via Gcc-patches
On Thu, 11 May 2023, Patrick Palka wrote: > r13-2701-g7107ea6fb933f1 made us correctly accept 'mutable' member > accesses during constexpr evaluation of objects constructed during that > evaluation, while continuing to reject such accesses for constexpr > objects constructed outside of that evalua

[PATCH] c++: 'mutable' subobject of constexpr variable [PR109745]

2023-05-11 Thread Patrick Palka via Gcc-patches
r13-2701-g7107ea6fb933f1 made us correctly accept 'mutable' member accesses during constexpr evaluation of objects constructed during that evaluation, while continuing to reject such accesses for constexpr objects constructed outside of that evaluation, by considering the CONSTRUCTOR_MUTABLE_POISON