https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85107
Bug ID: 85107 Summary: Internal compiler error when casting double to int Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: schlong at cock dot li Target Milestone: --- Created attachment 43784 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43784&action=edit Preprocessed file g++ version: g++ (Debian 8-20180321-1) 8.0.1 20180321 (experimental) [trunk revision 258712] command line: g++ ../src/main.cpp compiler output: g++: internal compiler error: Segmentation fault signal terminated program cc1plus Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions. This is as minimal as I can get it. Also segfaults with C-style cast.