aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-04-12 17:17:20 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-04-12 22:38:31 +0100
commitb2c007b87dcd5db5d59447de2081777aea66f35f (patch)
tree285fac827988c1854b25808b40f2dfea0c5429a0 /gcc
parent7cf88759957a7006e1e1d0a82a1a4de3c4db109e (diff)
downloadgcc-b2c007b87dcd5db5d59447de2081777aea66f35f.zip
gcc-b2c007b87dcd5db5d59447de2081777aea66f35f.tar.gz
gcc-b2c007b87dcd5db5d59447de2081777aea66f35f.tar.bz2
libstdc++: shrink-to-fit in std::basic_stacktrace::current(skip, max)
If a large stacktrace is reduced to a max depth that is less than half the capacity it will now be reallocated to remove the unused capacity. libstdc++-v3/ChangeLog: * include/std/stacktrace (basic_stacktrace::current): Reallocate a smaller container if the unused capacity is larger than the used size.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions