https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90940
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90940
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90940
--- Comment #3 from Jonathan Wakely ---
Oh, and for completeness, the ICE case reduced:
extern "C" void* malloc(decltype(sizeof(0)));
extern "C" void free(void*);
struct string {
string(int) : s(malloc(1)) { }
~string() { free(s); }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90940
--- Comment #2 from Jonathan Wakely ---
Reduced example showing double free, which started with the same revision as
the ICE:
extern "C" void* malloc(decltype(sizeof(0)));
extern "C" void free(void*);
struct string {
string(int) :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90940
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Known to work|