]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/29966 (crash in cc1 with backtrace from free())
authorTom Tromey <tromey@redhat.com>
Tue, 30 Jan 2007 15:46:01 +0000 (15:46 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 30 Jan 2007 15:46:01 +0000 (15:46 +0000)
commitee380365ef32d718116976cc15eebbe7624cc267
treefada9dec211b86baa03a82bf99d474f9823cb875
parent9caea4a72fd8f85dc33dfbb990249734fe31c256
re PR preprocessor/29966 (crash in cc1 with backtrace from free())

PR preprocessor/29966:
* macro.c (lex_expansion_token): Save and restore cpp_reader's
cur_token.
(_cpp_create_definition): Don't restore cur_token here.
* lex.c (_cpp_lex_token): Added assertion.

From-SVN: r121340
libcpp/ChangeLog
libcpp/lex.c
libcpp/macro.c