https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127945
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:1b8df100b9ba660d48b5dbb6f292387e0cc456db commit r16-9871-g1b8df100b9ba660d48b5dbb6f292387e0cc456db Author: Jakub Jelinek <[email protected]> Date: Sat Oct 17 10:37:29 2026 +0200 testsuite: Fix up literals{1,2}.C tests [PR127945] David Malcolm's new dg-lint found a bug in these tests, they were incorrectly using { target c++23 } as second dg-error argument (which is the comment argument). The errors are emitted at all C++ standard levels, so there should be no target specified for it at all; there is a second error emitted only for some C++ versions on the same line, but that is handled by second dg-error on the line below it with .-1 . As { target c++23 } has been treated as a comment on those directives, it has been checking for it unconditionally already before this change. 2026-10-17 Jakub Jelinek <[email protected]> PR testsuite/127945 * g++.dg/cpp26/literals1.C: Drop bogus { target c++23 } from dg-error. * g++.dg/cpp26/literals2.C: Likewise. (cherry picked from commit 113f18c2309d064465254c83bf1b5fcbbad7c87a)
