Index: gcc/ChangeLog
2004-06-09 Geoffrey Keating <geoffk@apple.com> * Makefile.in (CPPLIB_H): Put files in order of inclusion. (CPP_ID_DATA_H): New. (gtype-desc.o): Update dependencies. (GTFILES): Use CPP_ID_DATA_H. Index: gcc/testsuite/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * gcc.dg/pch/macro-4.c: New. * gcc.dg/pch/macro-4.hs: New. Index: libcpp/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * traditional.c (push_replacement_text): Set macro->traditional. (save_replacement_text): Likewise. * pch.c (cpp_write_pch_state): Don't write list of defined macros. (struct save_macro_item): Delete. (struct save_macro_data): Use a character array not the previous structured format. (save_macros): Save macro as text not as internal structures. (cpp_prepare_state): Update for changes to save_macro_data. (cpp_read_state): Don't read macros defined in PCH. Restore -D macros as text. * macro.c (create_iso_definition): Honour alloc_subobject. Clear traditional flag. (_cpp_create_definition): Honour alloc_subobject. * lex.c (cpp_token_val_index): New. * internal.h: Include cpp-id-data.h. (uchar): Move definition to cpp-id-data.h. (U): Likewise. (cpp_macro): Likewise. * directives.c (struct answer): Move to cpp-id-data.h. (do_assert): Honour alloc_subobject. Index: libcpp/include/ChangeLog 2004-06-09 Geoffrey Keating <geoffk@apple.com> * symtab.h (struct ht): Add field 'alloc_subobject'. * cpplib.h (struct cpp_string): Add GTY marker. (enum cpp_token_fld_kind): New. (struct cpp_token): Add GTY markers. (cpp_token_val_index): Prototype. (CPP_HASHNODE_VALUE_IDX): New. (struct cpp_hashnode): Don't skip fields of 'value' when marking. * cpp-id-data.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82851 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 7 additions, 0 deletionsgcc/ChangeLog
- gcc/Makefile.in 9 additions, 7 deletionsgcc/Makefile.in
- gcc/gengtype.c 35 additions, 18 deletionsgcc/gengtype.c
- gcc/stringpool.c 8 additions, 41 deletionsgcc/stringpool.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/pch/macro-4.c 8 additions, 0 deletionsgcc/testsuite/gcc.dg/pch/macro-4.c
- gcc/testsuite/gcc.dg/pch/macro-4.hs 1 addition, 0 deletionsgcc/testsuite/gcc.dg/pch/macro-4.hs
- libcpp/ChangeLog 24 additions, 0 deletionslibcpp/ChangeLog
- libcpp/directives.c 14 additions, 11 deletionslibcpp/directives.c
- libcpp/include/ChangeLog 11 additions, 0 deletionslibcpp/include/ChangeLog
- libcpp/include/cpp-id-data.h 77 additions, 0 deletionslibcpp/include/cpp-id-data.h
- libcpp/include/cpplib.h 55 additions, 13 deletionslibcpp/include/cpplib.h
- libcpp/include/symtab.h 4 additions, 1 deletionlibcpp/include/symtab.h
- libcpp/internal.h 1 addition, 43 deletionslibcpp/internal.h
- libcpp/lex.c 22 additions, 0 deletionslibcpp/lex.c
- libcpp/macro.c 25 additions, 5 deletionslibcpp/macro.c
- libcpp/pch.c 63 additions, 94 deletionslibcpp/pch.c
- libcpp/traditional.c 3 additions, 0 deletionslibcpp/traditional.c
Loading
Please register or sign in to comment