https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63400
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to frankhb1989 from comment #5) > BTW, what if the clock_gettime call failed? The current implementation does > nothing about error handling... (Though for QPC on Windows it should rarely > fail for machines within a decade.) None of the errors specified by POSIX or Linux are possible, because we don't pass invalid clock IDs or invalid pointers to the function. I don't know if the winpthreads wrapper has additional failure cases. It should not be possible for it to fail when given valid arguments.