https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82772
--- Comment #2 from Joël Krähemann <jkraehemann at gmail dot com> --- Just inspected the line it was crashing. There is a call to pthread_exit().
jkraehemann at gmail dot com Mon, 30 Oct 2017 11:30:34 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82772
--- Comment #2 from Joël Krähemann <jkraehemann at gmail dot com> --- Just inspected the line it was crashing. There is a call to pthread_exit().