https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127945

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <[email protected]>:

https://gcc.gnu.org/g:113f18c2309d064465254c83bf1b5fcbbad7c87a

commit r17-5273-g113f18c2309d064465254c83bf1b5fcbbad7c87a
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.

Reply via email to