]> gcc.gnu.org Git - gcc.git/commit
libstdc++: mallinfo deprecated, use mallinfo2 when glibc => 2.33
authorFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 8 Sep 2022 04:55:20 +0000 (06:55 +0200)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 8 Sep 2022 19:21:13 +0000 (21:21 +0200)
commita0f83501182de68ff038f3c69da549e6c80bb6bd
tree0a15e628d6fc3a45db0dbf4d1583b9a221a88bee
parent264deecb16abcfc8ca8efe9b94b0ad55febd55cc
libstdc++: mallinfo deprecated, use mallinfo2 when glibc => 2.33

glibc mallinfo is now deprecated resulting in make check-performance
failure. When glibc => 2.33 prefer mallinfo2.

libstdc++-v3/ChangeLog:

* testsuite/util/testsuite_performance.h (__gnu_test::MallocInfo): New.
(__gnu_test::malloc_info): New, replace mallinfo on current platform
supporting it and use mallinfo2 when glibc >= 2.33.
libstdc++-v3/testsuite/util/testsuite_performance.h
This page took 0.055244 seconds and 6 git commands to generate.