This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Invalid free in standard library in trivial example with C++17 on gcc 7.2


Hi,

Apologies if I am coming about this in the wrong way, I am new to the
mailing list. During our preliminary work to upgrade to gcc 7.2 (from
6.3) at my workplace, we have come across a bug that is blocking our
move to C++17. I have raised a bug report here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172.

There is an invalid free in a string within basic_stringbuf when
inserting a character into an empty stringbuf when using the pre CXX11
ABI, LTO, O1 and C++17.

Could anyone offer some advice on diagnosing this further, or working
around this issue that doesn't involve moving to the CXX11 ABI?

Thanks in advance,

-- Shane


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]