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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  3 13:22:45 2018
New Revision: 258180

URL: https://gcc.gnu.org/viewcvs?rev=258180&root=gcc&view=rev
Log:
        Backported from mainline
        2018-01-31  Jakub Jelinek  <ja...@redhat.com>

        PR preprocessor/69869
        * traditional.c (skip_macro_block_comment): Return bool, true if
        the macro block comment is unterminated.
        (copy_comment): Use return value from skip_macro_block_comment instead
        of always false.

        * gcc.dg/cpp/trad/pr69869.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/cpp/trad/pr69869.c
Modified:
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/libcpp/ChangeLog
    branches/gcc-7-branch/libcpp/traditional.c

Reply via email to