https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96905
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:57d705da0b98f5d398c4b8f9bd76fe8ad98e13bc commit r11-7143-g57d705da0b98f5d398c4b8f9bd76fe8ad98e13bc Author: Jason Merrill <ja...@redhat.com> Date: Mon Feb 8 17:16:14 2021 -0500 c++: consteval and explicit instantiation [PR96905] Normally, an explicit instantiation means we want to write out the instantiation. But not for a consteval function. gcc/cp/ChangeLog: PR c++/96905 * pt.c (mark_decl_instantiated): Exit early if consteval. gcc/testsuite/ChangeLog: PR c++/96905 * g++.dg/cpp2a/consteval-expinst1.C: New test.