https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100899
Bug ID: 100899 Summary: internal compiler error: in retrieve_specialization, at cp/pt.c:1240 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hans.p.erickson at gmail dot com Target Milestone: --- Created attachment 50923 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50923&action=edit Preprocessed output Some template code that I am working on causes an internal compiler error with the gcc 10 series of compilers. Based on some experimentation with the Compiler Explorer site at godbolt.org it appears that this affects 10.1, 10.2, and 10.3, but doesn't affect version 9 compilers or version 11 compilers. The link to the code at godbolt.org is https://godbolt.org/z/svWW5Tq4r . The pre-processor output that I've attached is from 10.2. The attached output is from a compiler with the following properties: gcc version 10.2.0 (GCC) Target: x86_64-pc-linux-gnu Configured with: ./configure --prefix=/home/hans/.local --enable-multilib