https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59463
dank at kegel dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank at kegel dot com --- Comment #4 from dank at kegel dot com --- I saw two other similar problems on the web. https://bugs.archlinux.org/task/46562 suggests it might be a microcode problem. http://permalink.gmane.org/gmane.linux.lfs.support/40714 suggests it can be caused (repeatably) by the compiler's gmp being built for a different machine. I just ran into this myself on six jobs in a parallel build on a big xeon vmware box. It's reproduced in two out of two full runs, but if I just rerun "make -j8", the build completes correctly, so it may have to do with cpu load. The simplified test case in #2 also doesn't seem to reproduce it. // Thread model: posix // gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) The error varies; sometimes it's // /usr/include/c++/5/limits:1598:7: internal compiler error: Illegal instruction // min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } and sometimes it's // /home/buildbot/src/yovo/libLoam/c++/Quat.h:440:3: internal compiler error: Illegal instruction // Quat Pow (float64 t, float64 thresh = 0.9999) const // ^ So in my case it doesn't sound like a gcc problem. Posting here for completeness only.