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

--- Comment #2 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:1ce5395977f37e8d0c03394f7b932a584ce85cc7

commit r12-7133-g1ce5395977f37e8d0c03394f7b932a584ce85cc7
Author: Jason Merrill <ja...@redhat.com>
Date:   Wed Feb 9 00:31:12 2022 -0500

    c++: modules and explicit(bool) [PR103752]

    We weren't streaming a C++20 dependent explicit-specifier.

            PR c++/103752

    gcc/cp/ChangeLog:

            * module.cc (trees_out::core_vals): Stream explicit specifier.
            (trees_in::core_vals): Likewise.
            * pt.cc (store_explicit_specifier): No longer static.
            (tsubst_function_decl): Clear DECL_HAS_DEPENDENT_EXPLICIT_SPEC_P.
            * cp-tree.h (lookup_explicit_specifier): Declare.

    gcc/testsuite/ChangeLog:

            * g++.dg/modules/explicit-bool-1_b.C: New test.
            * g++.dg/modules/explicit-bool-1_a.H: New test.

Reply via email to