https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113454
--- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to edison from comment #3) > i can reproduct this error with cpu2006 483.xalancbmk and can not find any > workaround with gcc 14.1. For GCC 14 you need to modify the source file by removing the erroneous (and uninstantiated) function template definition. For GCC 15 we recently made it so that you can downgrade errors inside uninstantiated templates into warnings via -fpermissive or -Wno-error=template-body, see PR116064.