We have an RFC patch [1] that adds a libgcc wrapper for a Valgrind client request. GCC has autoconf detection for Valgrind in the compiler proper as well as libcpp (where it is actually unnecessary).
It's grown rusty, let's clean it up. [1] https://inbox.sourceware.org/gcc-patches/20231024141124.210708-1-exactl...@ispras.ru/ Alexander Monakov (2): libcpp: configure: drop unused Valgrind detection gcc: configure: drop Valgrind 3.1 compatibility gcc/config.in | 12 ------- gcc/configure | 80 +++++++-------------------------------------- gcc/configure.ac | 49 +++------------------------ gcc/system.h | 23 ++----------- libcpp/config.in | 15 ++------- libcpp/configure | 70 +-------------------------------------- libcpp/configure.ac | 51 ++--------------------------- libcpp/lex.cc | 4 +-- 8 files changed, 29 insertions(+), 275 deletions(-) -- 2.39.2