Re: [PATCH 2/2] gcc: make Valgrind errors fatal with --enable-checking=valgrind

2024-10-03 Thread Eric Gallager
On Wed, Oct 2, 2024 at 10:43 PM Sam James wrote: > > Valgrind doesn't error out by default which means bootstrap issues like > in PR116945 can easily be missed: pass --exit-errorcode=1 to handle this. > > gcc/ChangeLog: > PR other/116945 > PR other/116947 > > * gcc.cc (exec

[PATCH 2/2] gcc: make Valgrind errors fatal with --enable-checking=valgrind

2024-10-02 Thread Sam James
Valgrind doesn't error out by default which means bootstrap issues like in PR116945 can easily be missed: pass --exit-errorcode=1 to handle this. gcc/ChangeLog: PR other/116945 PR other/116947 * gcc.cc (execute): Pass --error-exitcode=2 to Valgrind. --- gcc/gcc.cc | 7 +++