aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-fold.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-02-09 00:31:12 -0500
committerJason Merrill <jason@redhat.com>2022-02-09 10:41:06 -0500
commit1ce5395977f37e8d0c03394f7b932a584ce85cc7 (patch)
tree37282422b58c25f4a086d75462cdc94e8955edd1 /gcc/c/c-fold.cc
parent8f8f8c68b434eb32756284dd8e80cfbdff524a20 (diff)
downloadgcc-1ce5395977f37e8d0c03394f7b932a584ce85cc7.zip
gcc-1ce5395977f37e8d0c03394f7b932a584ce85cc7.tar.gz
gcc-1ce5395977f37e8d0c03394f7b932a584ce85cc7.tar.bz2
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.
Diffstat (limited to 'gcc/c/c-fold.cc')
0 files changed, 0 insertions, 0 deletions