[Bug libstdc++/88111] libstdc++-v3 FTB for 16-bit int: memory_resource.cc pool_sizes expects >16-bit int/size_t
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 21 18:41:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88111
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Nov 21 18:40:55 2018
New Revision: 266353
URL: https://gcc.gnu.org/viewcvs?rev=266353&root=gcc&view=rev
Log:
PR libstdc++/88111 Make maximum block size depend on size_t width
PR libstdc++/88111
* include/std/memory_resource (pool_options): Add Doxygen comments.
* src/c++17/memory_resource.cc (pool_sizes): Only use suitable values
on targets with 16-bit or 20-bit size_t type.
(munge_options): Make default values depend on width of size_t type.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/memory_resource
trunk/libstdc++-v3/src/c++17/memory_resource.cc
More information about the Gcc-bugs
mailing list