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

--- Comment #4 from CVS 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:049f0efeaa77b43a508172161ca040feb6bb5622

commit r12-5340-g049f0efeaa77b43a508172161ca040feb6bb5622
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Wed Nov 17 17:31:40 2021 +0100

    libcpp: Fix up handling of block comments in -fdirectives-only mode
[PR103130]

    Normal preprocessing, -fdirectives-only preprocessing before the Nathan's
    rewrite, and all other compilers I've tried on godbolt treat even \*/
    as end of a block comment, but the new -fdirectives-only handling doesn't.

    2021-11-17  Jakub Jelinek  <ja...@redhat.com>

            PR preprocessor/103130
            * lex.c (cpp_directive_only_process): Treat even \*/ as end of
block
            comment.

            * c-c++-common/cpp/dir-only-9.c: New test.

Reply via email to