1 2004-06-11 Zack Weinberg <zack@codesourcery.com>
3 * configure.ac: Don't invoke ACX_HEADER_STDBOOL.
4 * configure, config.in: Regenerate.
5 * system.h: Unconditionally define bool as unsigned char,
6 BOOL_BITFIELD as unsigned int.
7 * .cvsignore: New file.
9 2004-06-09 Geoffrey Keating <geoffk@apple.com>
11 * traditional.c (push_replacement_text): Set macro->traditional.
12 (save_replacement_text): Likewise.
13 * pch.c (cpp_write_pch_state): Don't write list of defined macros.
14 (struct save_macro_item): Delete.
15 (struct save_macro_data): Use a character array not the previous
17 (save_macros): Save macro as text not as internal structures.
18 (cpp_prepare_state): Update for changes to save_macro_data.
19 (cpp_read_state): Don't read macros defined in PCH. Restore
21 * macro.c (create_iso_definition): Honour alloc_subobject.
22 Clear traditional flag.
23 (_cpp_create_definition): Honour alloc_subobject.
24 * lex.c (cpp_token_val_index): New.
25 * internal.h: Include cpp-id-data.h.
26 (uchar): Move definition to cpp-id-data.h.
28 (cpp_macro): Likewise.
29 * directives.c (struct answer): Move to cpp-id-data.h.
30 (do_assert): Honour alloc_subobject.
32 * include/symtab.h (struct ht): Add field 'alloc_subobject'.
33 * include/cpplib.h (struct cpp_string): Add GTY marker.
34 (enum cpp_token_fld_kind): New.
35 (struct cpp_token): Add GTY markers.
36 (cpp_token_val_index): Prototype.
37 (CPP_HASHNODE_VALUE_IDX): New.
38 (struct cpp_hashnode): Don't skip fields of 'value' when marking.
39 * include/cpp-id-data.h: New file.
41 2004-06-09 Paolo Bonzini <bonzini@gnu.org>
43 * Makefile.am (all-local): New.
44 * Makefile.in: Regenerate.
46 2004-06-06 Roger Sayle <roger@eyesopen.com>
48 * Makefile.am (LIBICONV): Declare.
49 (makedepend_LDADD): Use LIBICONV.
50 * Makefile.in: Regenerate.
52 2004-06-05 Andrew Pinski <pinskia@physics.uc.edu>
54 * Makefile.am (LIBINTL): Declare
55 (makedepend_LDADD): Use LIBINTL.
56 * Makefile.in: Regenerate.
58 2004-06-05 Zack Weinberg <zack@codesourcery.com>
60 * Makefile.am: Add makedepend.
61 * Makefile.in, aclocal.m4: Regenerate.
62 * charset.c: Insert a space to avoid a warning.
63 * directives.c: Include mkdeps.h.
64 (_cpp_handle_directive): Reenable macro expander if appropriate.
65 (undefine_macros): Inline body of _cpp_free_definition for speed.
66 Do not call undef callback or _cpp_warn_if_unused_macro.
67 (cpp_get_deps): New interface.
68 * files.c (search_cache): Add pfile argument. Check for file
69 that would be found by "" or <> search here...
70 (_cpp_find_file): ...not here. Correct recorded start_dir of
71 files found by directory-of-current-file search that would be
72 found by "" or <> search.
73 * init.c (cpp_add_dependency_target): Delete.
74 * internal.h (struct lexer_state): Add discarding_output flag.
75 * lex.c (lex_identifier): Compute hash function while scanning.
76 * macro.c (cpp_scan_nooutput): Disable macro expansion outside
78 * makedepend.c: New file.
79 * mkdeps.c (struct deps): Add vpath vector.
80 (apply_vpath, deps_add_vpath): New function.
81 (deps_free): Free vpath vector.
82 (deps_add_dep, deps_add_target): Use apply_vpath.
83 * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
84 (ht_lookup_with_hash): New function.
85 * cpplib.h, mkdeps.h: Update prototypes.
86 * symtab.h: Update prototypes.
87 (HT_HASHSTEP, HT_FINISH): New macros.
89 2004-05-29 Geoffrey Keating <geoffk@apple.com>
91 * symtab.c (ht_create): Set entries_owned.
92 (ht_destroy): Honour entries_owned.
93 (ht_expand): Likewise.
95 * include/symtab.h (struct ht): New field 'entries_owned'
96 (ht_load): New prototype.
98 2004-05-26 Paolo Bonzini <bonzini@gnu.org>
101 * configure.ac: Fix m4 quoting when picking
102 the size of HOST_WIDE_INT.
103 * configure: Regenerate.
105 2004-05-25 Paolo Bonzini <bonzini@gnu.org>
107 * Makefile.am: the correct directory for
108 gettext include files is given by @INCINTL@.
109 * Makefile.in: Regenerate.
111 2004-05-24 Paolo Bonzini <bonzini@gnu.org>
113 * system.h [!ENABLE_NLS]: dgettext takes two
116 2004-05-23 Paolo Bonzini <bonzini@gnu.org>
118 Moved libcpp from the gcc subdirectory to the toplevel.
119 * Makefile.am: New file.
120 * Makefile.in: Regenerate.
121 * configure.ac: New file.
122 * configure: Regenerate.
123 * config.in: Regenerate.
124 * charset.c: Moved from gcc/cppcharset.c. Add note about
125 brokenness of input charset detection. Adjust for change
126 in name of cppucnid.h.
127 * errors.c: Moved from gcc/cpperror.c. Do not include intl.h.
128 * expr.c: Moved from gcc/cppexp.c.
129 * files.c: Moved from gcc/cppfiles.c. Do not include intl.h.
130 Remove #define of O_BINARY, it is in system.h.
131 * identifiers.c: Moved from gcc/cpphash.c.
132 * internal.h: Moved from gcc/cpphash.h. Change header
133 guard name. All other files adjusted to match name change.
134 * init.c: Moved from gcc/cppinit.c.
135 (init_library) [ENABLE_NLS]: Call bindtextdomain.
136 * lex.c: Moved from gcc/cpplex.c.
137 * directives.c: Moved from gcc/cpplib.c.
138 * macro.c: Moved from gcc/cppmacro.c.
139 * pch.c: Moved from gcc/cpppch.c. Do not include intl.h.
140 * traditional.c: Moved from gcc/cpptrad.c.
141 * ucnid.h: Moved from gcc/cppucnid.h. Change header
143 * ucnid.pl: Moved from gcc/cppucnid.pl.
144 * ucnid.tab: Moved from gcc/cppucnid.tab. Change header
146 * symtab.c: Moved from gcc/hashtable.c.
147 * line-map.c: Moved from gcc. Do not include intl.h.
148 * mkdeps.c: Moved from gcc.
149 * system.h: New file.
150 * include/cpplib.h: Moved from gcc. Change header guard name.
151 * include/line-map.h: Moved from gcc. Change header guard name.
152 * include/mkdeps.h: Moved from gcc. Change header guard name.
153 * include/symtab.h: Moved from gcc/hashtable.h. Change header