https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116384
Bug ID: 116384 Summary: [14 Regression] ICE in convert_nontype_argument, at cp/pt.cc:7877 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jcowgill+gcc at jcowgill dot uk Target Milestone: --- Created attachment 58933 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58933&action=edit test.cpp I noticed the attached test file generates an ICE on gcc-14 and in the latest git commit (20240815). The code was reduced from a giant pile of template metaprogramming in a codebase I work on. It works with gcc-13. Passing -std=c++11 or -std=c++14 is required - it does not ICE with with c++17. I bisected the issue to this commit: f1e5bf0d83ee4da81b6317c6d7f1278fe7eaa5a0 is the first bad commit commit f1e5bf0d83ee4da81b6317c6d7f1278fe7eaa5a0 Author: Jason Merrill <ja...@redhat.com> Date: Wed Jan 17 17:29:33 2024 -0500 c++: alias template argument conversion [PR112632]