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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:3b66a2a7890f2ae27ad4c1e1ac62b6551a2ffbae

commit r16-3061-g3b66a2a7890f2ae27ad4c1e1ac62b6551a2ffbae
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Thu Aug 7 08:52:38 2025 +0200

    c++: Add testcase for CWG2575 [PR120778]

    From the paper it isn't clear what caused the decision changes, not to drop
    the "the token defined is generated as a result of this replacement process
or"
    part and make [cpp.cond]/10 violations IFNDR rather than ill-formed (the
    latter maybe so that the extension to handle e.g. !A(A) below etc. can be
    accepted).

    Anyway, because that case hasn't been dropped and we pedwarn on it already,
    and diagnose everything else the way it should, the following patch just
    adds testcase for it.

    2025-08-07  Jakub Jelinek  <ja...@redhat.com>

            PR preprocessor/120778
            * g++.dg/DRs/dr2575.C: New test.

Reply via email to