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