https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84152
Bug ID: 84152
Summary: Internal compiler error when compiling a cxx file
Product: gcc
Version: 7.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: drohr at jwdt dot org
Target Milestone: ---
Created attachment 43308
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43308&action=edit
preprocessed source file to trigger the segfault
gcc encounters an internal compiler error when compiling our software.
I have preprocessed the affected source file and attached to this bug report.
The command line to trigger the problem is:
c++ -O3 -march=native -c ~/tmp/gcccrash.cxx -o ~/tmp/gcccrash.cxx.o
I am running gentoo linux 64 bit, gcc 7.3.0, glibc 2.26, kernel 2.15.
CPU model is Intel(R) Core(TM) i7-6700K.
The problem appears only when the -O3 and the -march=native options are
present.