This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/61977] [4.8/4.9/5 Regression] powerpc preprocessor breaks on lines that end with "vector"


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

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Apr  6 17:01:50 2015
New Revision: 221882

URL: https://gcc.gnu.org/viewcvs?rev=221882&root=gcc&view=rev
Log:
    PR preprocessor/61977
    * lex.c (cpp_peek_token): If peektok is CPP_EOF, back it up
    with all tokens peeked by the current function.

    * gcc.dg/cpp/pr61977.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/cpp/pr61977.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/lex.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]