https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93599
--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Update: I am not convinced that the error message by helgrind is correct. I have been able to reproduce the error in the meantime, by running the test case with #! /bin/sh set -e while true do for a in `seq 1 1000` do ./a.out done echo -n . done which aborts after quite a few thousands of invocations of a.out (65 thousand is the largest I have seen so far).