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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathan Sidwell <nat...@gcc.gnu.org>:

https://gcc.gnu.org/g:a641d6d3e631e523e8cf0cfc8b8e324da118dff2

commit r11-496-ga641d6d3e631e523e8cf0cfc8b8e324da118dff2
Author: Nathan Sidwell <nat...@acm.org>
Date:   Tue May 19 06:11:22 2020 -0700

    preprocessor: Fix ICE with EOF in macro args [pr95182]

    This was another latent case of us losing an EOF token, but succeeding
    anyway.  Since my patch to make us pay more attention to EOFs it came
    to light.  We also need to keep the EOF if we fall off the end of the
    main file.  Forced includes look like regular nested includes at this
    point.

            PR preprocessor/95182
            libcpp/
            * macro.c (collect_args): Preserve EOFif we fell out of the main
            file.
            (cpp_get_token_1): Reformat a couple of short lines.

Reply via email to