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/29966] crash in cc1 with backtrace from free()



------- Comment #10 from tromey at gcc dot gnu dot org  2007-01-30 15:46 -------
Subject: Bug 29966

Author: tromey
Date: Tue Jan 30 15:46:01 2007
New Revision: 121340

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121340
Log:
        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.

Modified:
    trunk/libcpp/ChangeLog
    trunk/libcpp/lex.c
    trunk/libcpp/macro.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29966


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