]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/61977 (powerpc preprocessor breaks on lines that end with "vector")
authorJakub Jelinek <jakub@redhat.com>
Mon, 6 Apr 2015 17:01:50 +0000 (19:01 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 6 Apr 2015 17:01:50 +0000 (19:01 +0200)
commite4b33ee5e46bc68fa06d422c3900e8a1f6382e60
treec79cf04375157868003884367ab0881cdd4beefb
parent6f0250431c61af7dcc7066437674d87300b386da
re PR preprocessor/61977 (powerpc preprocessor breaks on lines that end with "vector")

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.

From-SVN: r221882
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/pr61977.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/lex.c