This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80111] New: #include <limits> kills compiler
- From: "graeme.winter at diamond dot ac.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Mar 2017 09:12:32 +0000
- Subject: [Bug c++/80111] New: #include <limits> kills compiler
- Auto-submitted: auto-generated
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.