https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86385
--- Comment #6 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #5)
> Fixed for GCC 13+ by r13-2964-gbbdb5612f6661f2c64b0c0f1d2291cb59fde2b40 .
Or by r13-2963-g32b2eb59fb9049 .
Anyways both together are needed IIRC.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86385
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86385
Andrew Pinski changed:
What|Removed |Added
CC||st at quanttec dot com
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86385
Jonathan Wakely changed:
What|Removed |Added
Last reconfirmed|2018-07-03 00:00:00 |2021-5-13
--- Comment #3 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86385
--- Comment #2 from Jonathan Wakely ---
Reduced slightly:
struct A {
int* a;
A(int a) : a(new int(a)) {}
~A() { delete a; }
A(const A&) = delete;
A(A&& other) { a = other.a; other.a = 0; };
operator bool() { return true; }
};
A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86385
Jonathan Wakely changed:
What|Removed |Added
Keywords||wrong-code