https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96905

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:86d8ecf28e6c20b3e6866a5b1551a339edc8d14d

commit r10-9363-g86d8ecf28e6c20b3e6866a5b1551a339edc8d14d
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.

Reply via email to