https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80830
Bug ID: 80830 Summary: ice in tsubst_copy, at cp/pt.c:14569 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 41390 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41390&action=edit gzipped C++ source code The attached C++ code, when compiled by recent gcc trunk, does this: ../results.248178/bin/gcc ../results.248260/bin/gcc /usr/include/wfmath-1.0/wfmath/ball.h:75:24: internal compiler error: in tsubst_copy, at cp/pt.c:14569 $ So the bug seems to exist between revisions 248178 and 248260. I'll have a go at reducing the code.