]>
Commit | Line | Data |
---|---|---|
0fd9e8dd SB |
1 | 2004-09-06 Serge Belyshev <belyshev@lubercy.com> |
2 | ||
3 | PR preprocessor/14699 | |
4 | * symtab.c (ht_dump_statistics): Change type of sum_of_squares | |
5 | from size_t to double. | |
6 | ||
39b8ce7f AS |
7 | 2004-08-28 Andreas Schwab <schwab@suse.de> |
8 | Andreas Jaeger <aj@suse.de> | |
9 | ||
10 | * configure.ac: Set PACKAGE correctly. | |
11 | * configure: Regenerated. | |
12 | ||
5d1f4b27 PB |
13 | 2004-08-25 Paolo Bonzini <bonzini@gnu.org> |
14 | ||
15 | * Makefile.in: Add back top_builddir. | |
16 | ||
078e3ffe PB |
17 | 2004-08-25 Paolo Bonzini <bonzini@gnu.org> |
18 | ||
19 | * configure.ac: Replace Automake macro invocations | |
20 | with manual Autoconf checks and substitutions. | |
21 | * configure: Regenerate. | |
22 | * aclocal.m4: Regenerate. | |
23 | * config.in: Regenerate. | |
24 | * Makefile.am: Removed. | |
25 | * Makefile.in: Heavy simplification and reorganization. | |
26 | ||
b3f8d95d MM |
27 | 2004-08-09 Mark Mitchell <mark@codesourcery.com> |
28 | ||
29 | * configure.ac (arm*-*-eabi*): New target. | |
30 | (arm*-*-symbianelf*): Likewise. | |
31 | * configure: Regenerated. | |
32 | ||
72bb2c39 BI |
33 | 2004-07-24 Bernardo Innocenti <bernie@develer.com> |
34 | ||
35 | * internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove. | |
36 | * directives.c: Use XNEW-family macros from libiberty. | |
37 | * lex.c: Likewise. | |
38 | * macro.c: Likewise. | |
39 | * cpplib.h (cpp_deps_style): Export enum with name. | |
40 | ||
85eac2a0 | 41 | 2004-07-23 Matthias Klose <doko@debian.org> |
72bb2c39 | 42 | |
078e3ffe | 43 | * init.c (init_library): Use PACKAGE for the text domain. |
85eac2a0 | 44 | |
a23ee064 AP |
45 | 2004-07-16 Andris Pavenis <pavenis@latnet.lv> |
46 | ||
47 | PR preprocessor/16366 | |
48 | * internal.h (struct cpp_reader): New field dir_hash. | |
49 | * files.c (make_cpp_dir): Use dir_hash, not file_hash. | |
50 | (_cpp_init_files, _cpp_cleanup_files): Update for new field. | |
51 | ||
a09d4744 NB |
52 | 2004-07-04 Neil Booth <neil@duron.akihabara.co.uk> |
53 | ||
54 | PR preprocessor/16192 | |
55 | PR preprocessor/15913 | |
56 | PR preprocessor/15572 | |
57 | * expr.c (_cpp_parse_expr): Handle remaining cases where an | |
58 | expression is missing. | |
59 | * init.c (post_options): Traditional cpp doesn't do // comments. | |
60 | ||
f58f7def PB |
61 | 2004-06-30 Per Bothner <per@bothner.com> |
62 | ||
63 | * include/line-map.h (fileline): Remove old typedef. | |
64 | * internal.h (struct cpp_reader): Use source_location typedef instead. | |
65 | ||
e83d8d43 ZW |
66 | 2004-06-26 Zack Weinberg <zack@codesourcery.com> |
67 | ||
68 | Partially revert patch of 2004-06-05. | |
69 | * files.c (search_cache): Remove pfile argument. Don't check | |
70 | for file that would be found by "" or <> search here... | |
71 | (_cpp_find_file): ...do it here, before calling find_file_in_dir. | |
72 | Do not apply directory-of-current-file correction to files | |
73 | found by this check. Rearrange code slightly. | |
74 | ||
c0d578e6 GK |
75 | 2004-06-21 Geoffrey Keating <geoffk@apple.com> |
76 | ||
77 | * files.c (should_stack_file): Correct swapped parameters to call | |
78 | to cb.read_pch. | |
79 | * pch.c (cpp_valid_state): Handle -fpreprocessed. | |
80 | ||
159d5224 PB |
81 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
82 | ||
83 | * Makefile.in: Regenerate with automake 1.8.5. | |
84 | * aclocal.m4: Likewise. | |
85 | * configure: Regenerate. | |
86 | ||
2fac9c01 ZW |
87 | 2004-06-11 Zack Weinberg <zack@codesourcery.com> |
88 | ||
89 | * configure.ac: Don't invoke ACX_HEADER_STDBOOL. | |
90 | * configure, config.in: Regenerate. | |
91 | * system.h: Unconditionally define bool as unsigned char, | |
92 | BOOL_BITFIELD as unsigned int. | |
93 | * .cvsignore: New file. | |
94 | ||
d8044160 GK |
95 | 2004-06-09 Geoffrey Keating <geoffk@apple.com> |
96 | ||
97 | * traditional.c (push_replacement_text): Set macro->traditional. | |
98 | (save_replacement_text): Likewise. | |
99 | * pch.c (cpp_write_pch_state): Don't write list of defined macros. | |
100 | (struct save_macro_item): Delete. | |
101 | (struct save_macro_data): Use a character array not the previous | |
102 | structured format. | |
103 | (save_macros): Save macro as text not as internal structures. | |
104 | (cpp_prepare_state): Update for changes to save_macro_data. | |
105 | (cpp_read_state): Don't read macros defined in PCH. Restore | |
2cf22451 | 106 | -D macros as text. |
d8044160 GK |
107 | * macro.c (create_iso_definition): Honour alloc_subobject. |
108 | Clear traditional flag. | |
109 | (_cpp_create_definition): Honour alloc_subobject. | |
110 | * lex.c (cpp_token_val_index): New. | |
111 | * internal.h: Include cpp-id-data.h. | |
112 | (uchar): Move definition to cpp-id-data.h. | |
113 | (U): Likewise. | |
114 | (cpp_macro): Likewise. | |
115 | * directives.c (struct answer): Move to cpp-id-data.h. | |
116 | (do_assert): Honour alloc_subobject. | |
2cf22451 ZW |
117 | |
118 | * include/symtab.h (struct ht): Add field 'alloc_subobject'. | |
119 | * include/cpplib.h (struct cpp_string): Add GTY marker. | |
120 | (enum cpp_token_fld_kind): New. | |
121 | (struct cpp_token): Add GTY markers. | |
122 | (cpp_token_val_index): Prototype. | |
123 | (CPP_HASHNODE_VALUE_IDX): New. | |
124 | (struct cpp_hashnode): Don't skip fields of 'value' when marking. | |
125 | * include/cpp-id-data.h: New file. | |
d8044160 | 126 | |
0ca8e815 PB |
127 | 2004-06-09 Paolo Bonzini <bonzini@gnu.org> |
128 | ||
129 | * Makefile.am (all-local): New. | |
130 | * Makefile.in: Regenerate. | |
131 | ||
b51fa00f RS |
132 | 2004-06-06 Roger Sayle <roger@eyesopen.com> |
133 | ||
134 | * Makefile.am (LIBICONV): Declare. | |
135 | (makedepend_LDADD): Use LIBICONV. | |
136 | * Makefile.in: Regenerate. | |
137 | ||
5e2f3f39 AP |
138 | 2004-06-05 Andrew Pinski <pinskia@physics.uc.edu> |
139 | ||
140 | * Makefile.am (LIBINTL): Declare | |
141 | (makedepend_LDADD): Use LIBINTL. | |
142 | * Makefile.in: Regenerate. | |
143 | ||
c6e83800 ZW |
144 | 2004-06-05 Zack Weinberg <zack@codesourcery.com> |
145 | ||
146 | * Makefile.am: Add makedepend. | |
147 | * Makefile.in, aclocal.m4: Regenerate. | |
148 | * charset.c: Insert a space to avoid a warning. | |
149 | * directives.c: Include mkdeps.h. | |
150 | (_cpp_handle_directive): Reenable macro expander if appropriate. | |
151 | (undefine_macros): Inline body of _cpp_free_definition for speed. | |
152 | Do not call undef callback or _cpp_warn_if_unused_macro. | |
153 | (cpp_get_deps): New interface. | |
154 | * files.c (search_cache): Add pfile argument. Check for file | |
155 | that would be found by "" or <> search here... | |
156 | (_cpp_find_file): ...not here. Correct recorded start_dir of | |
157 | files found by directory-of-current-file search that would be | |
158 | found by "" or <> search. | |
159 | * init.c (cpp_add_dependency_target): Delete. | |
160 | * internal.h (struct lexer_state): Add discarding_output flag. | |
161 | * lex.c (lex_identifier): Compute hash function while scanning. | |
162 | * macro.c (cpp_scan_nooutput): Disable macro expansion outside | |
163 | directives. | |
164 | * makedepend.c: New file. | |
165 | * mkdeps.c (struct deps): Add vpath vector. | |
166 | (apply_vpath, deps_add_vpath): New function. | |
167 | (deps_free): Free vpath vector. | |
168 | (deps_add_dep, deps_add_target): Use apply_vpath. | |
169 | * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH. | |
170 | (ht_lookup_with_hash): New function. | |
171 | * cpplib.h, mkdeps.h: Update prototypes. | |
172 | * symtab.h: Update prototypes. | |
173 | (HT_HASHSTEP, HT_FINISH): New macros. | |
174 | ||
b453c95f GK |
175 | 2004-05-29 Geoffrey Keating <geoffk@apple.com> |
176 | ||
177 | * symtab.c (ht_create): Set entries_owned. | |
178 | (ht_destroy): Honour entries_owned. | |
179 | (ht_expand): Likewise. | |
180 | (ht_load): New. | |
2cf22451 ZW |
181 | * include/symtab.h (struct ht): New field 'entries_owned' |
182 | (ht_load): New prototype. | |
b453c95f | 183 | |
963e23c5 PB |
184 | 2004-05-26 Paolo Bonzini <bonzini@gnu.org> |
185 | ||
186 | PR bootstrap/15651 | |
187 | * configure.ac: Fix m4 quoting when picking | |
188 | the size of HOST_WIDE_INT. | |
189 | * configure: Regenerate. | |
190 | ||
0429bc77 PB |
191 | 2004-05-25 Paolo Bonzini <bonzini@gnu.org> |
192 | ||
193 | * Makefile.am: the correct directory for | |
194 | gettext include files is given by @INCINTL@. | |
195 | * Makefile.in: Regenerate. | |
196 | ||
c86dd7db PB |
197 | 2004-05-24 Paolo Bonzini <bonzini@gnu.org> |
198 | ||
199 | * system.h [!ENABLE_NLS]: dgettext takes two | |
200 | parameters. | |
201 | ||
4f4e53dd PB |
202 | 2004-05-23 Paolo Bonzini <bonzini@gnu.org> |
203 | ||
204 | Moved libcpp from the gcc subdirectory to the toplevel. | |
205 | * Makefile.am: New file. | |
206 | * Makefile.in: Regenerate. | |
207 | * configure.ac: New file. | |
208 | * configure: Regenerate. | |
209 | * config.in: Regenerate. | |
210 | * charset.c: Moved from gcc/cppcharset.c. Add note about | |
211 | brokenness of input charset detection. Adjust for change | |
212 | in name of cppucnid.h. | |
213 | * errors.c: Moved from gcc/cpperror.c. Do not include intl.h. | |
214 | * expr.c: Moved from gcc/cppexp.c. | |
215 | * files.c: Moved from gcc/cppfiles.c. Do not include intl.h. | |
216 | Remove #define of O_BINARY, it is in system.h. | |
217 | * identifiers.c: Moved from gcc/cpphash.c. | |
218 | * internal.h: Moved from gcc/cpphash.h. Change header | |
219 | guard name. All other files adjusted to match name change. | |
220 | * init.c: Moved from gcc/cppinit.c. | |
221 | (init_library) [ENABLE_NLS]: Call bindtextdomain. | |
222 | * lex.c: Moved from gcc/cpplex.c. | |
223 | * directives.c: Moved from gcc/cpplib.c. | |
224 | * macro.c: Moved from gcc/cppmacro.c. | |
225 | * pch.c: Moved from gcc/cpppch.c. Do not include intl.h. | |
226 | * traditional.c: Moved from gcc/cpptrad.c. | |
227 | * ucnid.h: Moved from gcc/cppucnid.h. Change header | |
228 | guard name. | |
229 | * ucnid.pl: Moved from gcc/cppucnid.pl. | |
230 | * ucnid.tab: Moved from gcc/cppucnid.tab. Change header | |
231 | guard name. | |
232 | * symtab.c: Moved from gcc/hashtable.c. | |
233 | * line-map.c: Moved from gcc. Do not include intl.h. | |
234 | * mkdeps.c: Moved from gcc. | |
235 | * system.h: New file. | |
2cf22451 ZW |
236 | * include/cpplib.h: Moved from gcc. Change header guard name. |
237 | * include/line-map.h: Moved from gcc. Change header guard name. | |
238 | * include/mkdeps.h: Moved from gcc. Change header guard name. | |
239 | * include/symtab.h: Moved from gcc/hashtable.h. Change header | |
240 | guard name. |