]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: -fimplicit-constexpr and modules
authorJason Merrill <jason@redhat.com>
Fri, 9 May 2025 23:13:49 +0000 (19:13 -0400)
committerJason Merrill <jason@redhat.com>
Thu, 15 May 2025 14:31:47 +0000 (10:31 -0400)
commit9694bb129c0dbf54138d94caa28d692842fdc233
treed9d28c8ac6aae882ad46ed8039d96443ff689d42
parent2ee1fce9fc35de21b28823ccae433c90a0ce270b
c++: -fimplicit-constexpr and modules

Import didn't like differences in DECL_DECLARED_CONSTEXPR_P due to implicit
constexpr, breaking several g++.dg/modules tests; we should handle that
along with DECL_MAYBE_DELETED.  For which we need to stream the bit.

gcc/cp/ChangeLog:

* module.cc (trees_out::lang_decl_bools): Stream implicit_constexpr.
(trees_in::lang_decl_bools): Likewise.
(trees_in::is_matching_decl): Check it.
gcc/cp/module.cc