--enable-checking=valgrind has two functions: 1) run generator programs with Valgrind; 2) run GCC itself with Valgrind (GCC invokes Valgrind in the driver).
These two patches make sure that Valgrind is told to abort on errors rather than warning-and-continuing, allowing issues to go undetected or unnoticed in automated builds or otherwise lost in build logs. Sam James (2): gcc: make Valgrind errors fatal during bootstrap gcc: make Valgrind errors fatal with --enable-checking=valgrind gcc/configure | 2 +- gcc/configure.ac | 2 +- gcc/gcc.cc | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) -- 2.46.2