mbox series

[0/2] Valgrind checking improvements

Message ID cover.1727923173.git.sam@gentoo.org
Headers show
Series Valgrind checking improvements | expand

Message

Sam James Oct. 3, 2024, 2:39 a.m. UTC
--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(-)