This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/80111] New: #include <limits> kills compiler


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]