https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80893
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80893
--- Comment #7 from Jonathan Wakely ---
Author: redi
Date: Wed Aug 8 15:40:47 2018
New Revision: 263421
URL: https://gcc.gnu.org/viewcvs?rev=263421&root=gcc&view=rev
Log:
PR libstdc++/80893 Fix null dereference in vector
Backport from mainline
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80893
--- Comment #6 from Jonathan Wakely ---
Author: redi
Date: Tue Aug 7 22:50:45 2018
New Revision: 263381
URL: https://gcc.gnu.org/viewcvs?rev=263381&root=gcc&view=rev
Log:
PR libstdc++/80893 Fix null dereference in vector
Backport from mainline
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80893
--- Comment #5 from Jonathan Wakely ---
Author: redi
Date: Sat Jun 17 12:11:47 2017
New Revision: 249338
URL: https://gcc.gnu.org/viewcvs?rev=249338&root=gcc&view=rev
Log:
PR libstdc++/80893 don't run test for C++98 modes
PR libstdc++/8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80893
--- Comment #4 from Jonathan Wakely ---
Author: redi
Date: Wed May 31 12:41:45 2017
New Revision: 248734
URL: https://gcc.gnu.org/viewcvs?rev=248734&root=gcc&view=rev
Log:
PR libstdc++/80893 Fix null dereference in vector
PR libstdc++/8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80893
--- Comment #3 from Jonathan Wakely ---
This is actually a problem in vector though: it assumes allocate(0)
returns a non-null pointer, which is unspecified.
This should fix it:
--- a/libstdc++-v3/include/bits/stl_bvector.h
+++ b/libstdc++-v3/i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80893
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80893
--- Comment #1 from Jonathan Wakely ---
I can't reproduce this with the default configuration so I assume it's caused
by --enable-libstdcxx-allocator=pool (why are you using that?)