Skip to content
Commit fc940277 authored by Marshall Clow's avatar Marshall Clow
Browse files

Fix PR#31454 - 'basic_string<T>::push_back() crashes if sizeof(T)>sizeof(long...

Fix PR#31454 - 'basic_string<T>::push_back() crashes if sizeof(T)>sizeof(long long)'. We were mishandling the small-string optimization calculations for very large 'characters'. This may be an ABI change (change the size of) strings of very large 'characters', but since they never worked, I'm not too concerned.

llvm-svn: 324531
parent ce26819f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment