[Bug libstdc++/90634] filesystem::path insane memory allocations

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 26 08:44:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90634

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The path type was rewritten for GCC 9, and now prints:

allocating 21 bytes
allocating 248 bytes
about to quit.
total allocated 269 bytes
freed 248 bytes
freed 21 bytes

The 21 bytes is for the native() string, and 248 bytes is the sequence of path
objects in the range [begin(),end()).


More information about the Gcc-bugs mailing list