https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115747
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:f63896ff5a4fa4fe451f9ec7f16026eb97ed8e6d commit r15-1859-gf63896ff5a4fa4fe451f9ec7f16026eb97ed8e6d Author: Jonathan Wakely <jwak...@redhat.com> Date: Fri Jul 5 12:16:46 2024 +0100 libstdc++: Add dg-error for new -Wdelete-incomplete diagnostics [PR115747] Since r15-1794-gbeb7a418aaef2e the -Wdelete-incomplete diagnostic is a permerror instead of a (suppressed in system headers) warning. Add dg-error directives. libstdc++-v3/ChangeLog: PR c++/115747 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Add dg-error for new C++26 diagnostics.