https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80613
Bug ID: 80613 Summary: ice in is_gimple_reg_type with -O2 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 41306 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41306&action=edit gzipped C++ source code The attached code, when compiled by today's gcc trunk and compiler flag -c -O2, does this: tcpserver.cc: In member function ‘virtual int TcpServer::EnableServer()’: tcpserver.cc:361:1: internal compiler error: Segmentation fault 0xe5b59f crash_signal ../../trunk/gcc/toplev.c:337 0xe94aed is_gimple_reg_type ../../trunk/gcc/gimple-expr.h:75 0xe94aed verify_gimple_call ../../trunk/gcc/tree-cfg.c:3520 0xe94aed verify_gimple_stmt ../../trunk/gcc/tree-cfg.c:4738 The problem seems to have appeared between revision 246605 and 247438. These two revisions are from the end of March and the start of May. I'll try to reduce the code.