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
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) {}
>
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;