https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92832 --- Comment #5 from David Binderman <dcb314 at hotmail dot com> --- Problem seems to go away if I set VALGRIND_OPTS export VALGRIND_OPTS="--expensive-definedness-checks=yes"