https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103130
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:0f0c24cf9622a3c74574a0e2d2bb2f51fed3e773 commit r11-9334-g0f0c24cf9622a3c74574a0e2d2bb2f51fed3e773 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. (cherry picked from commit 049f0efeaa77b43a508172161ca040feb6bb5622)