http://bugzilla.opensuse.org/show_bug.cgi?id=1124091 Bug ID: 1124091 Summary: g++ internal compiler error: Illegal instruction Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: HP OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: markku.j.pulkkinen@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Build Identifier: When compiling code that uses standard C/C++ libraries, the following error is generated. In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from main.cpp:23: /usr/include/c++/8/limits:1599:7:internal compiler error: Illegal instruction min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~ The program code (main.cpp) includes following headers in the beginning: Line 22: #include <string> Line 23: #include <thread> g++ version is as follows: g++ (SUSE Linux) 8.2.1 20190103 [gcc-8-branch revision 267549] Reproducible: Always Steps to Reproduce: 1. g++ -o a.out -no-pie -pthread -pipe -Wall -O3 -march=native -mtune=native \ -fprefetch-loop-arrays --param max-inline-insns-single=2000 -std=c++1y \ main.cpp Actual Results: g++ compiler gives following internal error message: In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from main.cpp:23: /usr/include/c++/8/limits:1599:7: internal compiler error: Illegal instruction min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~ Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.opensuse.org/ for instructions. Expected Results: Program is build successfully -- You are receiving this mail because: You are on the CC list for the bug.