https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92514
Bug ID: 92514
Summary: limits:1668:7: internal compiler error: Illegal
instruction
Product: gcc
Version: 9.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: skorzennik at cfa dot harvard.edu
Target Milestone: ---
Created attachment 47266
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47266&action=edit
.ii and .log files
In file included from
/share/apps/tools/gcc/9.2.0/include/c++/9.2.0/bits/uniform_int_dist.h:35,
from
/share/apps/tools/gcc/9.2.0/include/c++/9.2.0/bits/stl_algo.h:66,
from
/share/apps/tools/gcc/9.2.0/include/c++/9.2.0/algorithm:62,
from test-array.cpp:4:
/share/apps/tools/gcc/9.2.0/include/c++/9.2.0/limits:1668:7: internal compiler
error: Illegal instruction
1668 | max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; }
| ^~~
0xb5775f crash_signal
../.././gcc/toplev.c:326
attached is the output of
g++ -v -std=c++11 -save-temps test-array.cpp -o test-array
and the resulting
test-array.ii
the test code (test-array.cpp) is measly 17 lines long.