[Bug c++/80111] New: #include <limits> kills compiler
graeme.winter at diamond dot ac.uk
gcc-bugzilla@gcc.gnu.org
Mon Mar 20 09:12:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80111
Bug ID: 80111
Summary: #include <limits> kills compiler
Product: gcc
Version: 6.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: graeme.winter at diamond dot ac.uk
Target Milestone: ---
Trivial code to reproduce
#include <iostream>
#include <limits>
int main(int argc,
char ** argv)
{
std::cout << "Hello, World!" << std::endl;
return 0;
}
g++ junk.cpp
In file included from junk.cpp:2:0:
/dls_sw/apps/gcc/6.3.0/include/c++/6.3.0/limits:1598:7: internal compiler
error: Illegal instruction
min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; }
^~~
0xac63df crash_signal
../.././gcc/toplev.c:333
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list