https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98566
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>: https://gcc.gnu.org/g:e6a5daae7ec5318c3949432d92b7f674dab5241d commit r11-6504-ge6a5daae7ec5318c3949432d92b7f674dab5241d Author: Marek Polacek <pola...@redhat.com> Date: Wed Jan 6 12:15:36 2021 -0500 c++: Fix g++.dg/warn/Wmismatched-dealloc.C for C++11 [PR98566] C++ sized deallocation only came in C++14, so this test wasn't working properly in C++11, which isn't tested by default. Fixed thus by constraining the dg-errors to C++14 only. gcc/testsuite/ChangeLog: PR testsuite/98566 * g++.dg/warn/Wmismatched-dealloc.C: Use target c++14 in dg-error.