Note that regcomp.c is part of gnulib. gnulib's corresponding test fails too: # ./test-c-stack test-c-stack: program error Segmentation fault (core dumped) Should I report the bug to them instead?