]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR preprocessor/58844 (ICE with invalid use of ##)
authorJakub Jelinek <jakub@redhat.com>
Wed, 19 Feb 2014 06:05:55 +0000 (07:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 19 Feb 2014 06:05:55 +0000 (07:05 +0100)
commit179652df338a0dfe4e121cb6b88164a723d91528
treef3fc813b3068ddef834ae78c747c34b6b87b8722
parent0cfe1b4698da3b3ef6b75142f0daef9687e4d63a
re PR preprocessor/58844 (ICE with invalid use of ##)

PR preprocessor/58844
* macro.c (enter_macro_context): Only push
macro_real_token_count (macro) tokens rather than
macro->count tokens, regardless of
CPP_OPTION (pfile, track-macro-expansion).

* c-c++-common/cpp/pr58844-1.c: New test.
* c-c++-common/cpp/pr58844-2.c: New test.

From-SVN: r207871
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cpp/pr58844-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/cpp/pr58844-2.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/macro.c