Open jbeich opened 9 years ago
Couldn't reproduce that with g++ 4.9.2-10ubuntu13 (I assume libstdc++), or with Apple LLVM clang-600.0.57 (I assume libc++).
If you're looking for a short term workaround, revering b1321e40090dc78d9fb1c71088ee8f79eb2cd874, ea4785714d52fcdb4def8e6fe0475c171f4e7f22 and 727f68b054f3e1cfd006fb0635e14a49924a9712 might help. And if it doesn't, that's would be really interesting. The three patches above were memory optimizations, and that exception is from that recent code.
This happes both with clang36/libc++, gcc5/libc++ but not with gcc5/libstdc++. My copy of libc++ is at r224926 + r228344/r233552 bugfixes. I wonder if the issue affects OS X as well.
Workaround.