Re: [PATCH] c++: Relax too strict assert in stabilize_expr [PR111160]

2024-07-01 Thread Jason Merrill
On 6/26/24 3:00 PM, Simon Martin wrote: The case in the ticket is an ICE on invalid due to an assert in stabilize_expr, but the underlying issue can actually trigger on this *valid* code: === cut here === struct TheClass { TheClass() {} TheClass(volatile TheClass& t) {} TheClass operato

Re: [PATCH] c++: Relax too strict assert in stabilize_expr [PR111160]

2024-06-28 Thread Patrick Palka
On Wed, 26 Jun 2024, Simon Martin wrote: > The case in the ticket is an ICE on invalid due to an assert in > stabilize_expr, > but the underlying issue can actually trigger on this *valid* code: > > === cut here === > struct TheClass { > TheClass() {} > TheClass(volatile TheClass& t) {} >

[PATCH] c++: Relax too strict assert in stabilize_expr [PR111160]

2024-06-26 Thread Simon Martin
The case in the ticket is an ICE on invalid due to an assert in stabilize_expr, but the underlying issue can actually trigger on this *valid* code: === cut here === struct TheClass { TheClass() {} TheClass(volatile TheClass& t) {} TheClass operator=(volatile TheClass& t) volatile { return t;