aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/security/sasl/SaslServerFactory.h
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2025-04-04 19:08:40 +1100
committerNathaniel Shead <nathanieloshead@gmail.com>2025-04-05 10:28:48 +1100
commitf4a3ae1ef5ec951f007c4bd530f30e44945c5f0d (patch)
treea06c0cf7ca6980267c6f90a3b52f495a61ce1035 /libjava/javax/security/sasl/SaslServerFactory.h
parent6602fc076a883cf0cd20a37655a6bd9c146a2770 (diff)
downloadgcc-f4a3ae1ef5ec951f007c4bd530f30e44945c5f0d.zip
gcc-f4a3ae1ef5ec951f007c4bd530f30e44945c5f0d.tar.gz
gcc-f4a3ae1ef5ec951f007c4bd530f30e44945c5f0d.tar.bz2
c++/modules: Propagate bits to DECL_MAYBE_DELETED dups [PR119462]
In the linked PR, we're importing over a DECL_MAYBE_DELETED decl with a decl that has already been instantiated. This patch ensures that the needed bits are propagated across and that DECL_MAYBE_DELETED is cleared from the existing decl, so that later synthesize_method doesn't crash due to a definition unexpectedly already existing. PR c++/119462 gcc/cp/ChangeLog: * module.cc (trees_in::is_matching_decl): Propagate exception spec and constexpr to DECL_MAYBE_DELETED; clear if appropriate. gcc/testsuite/ChangeLog: * g++.dg/modules/noexcept-3_a.C: New test. * g++.dg/modules/noexcept-3_b.C: New test. * g++.dg/modules/noexcept-3_c.C: New test. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com> Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'libjava/javax/security/sasl/SaslServerFactory.h')
0 files changed, 0 insertions, 0 deletions