]>
Commit | Line | Data |
---|---|---|
a8e68029 DJ |
1 | 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> |
2 | Mark Mitchell <mark@codesourcery.com> | |
3 | ||
4 | * configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set | |
5 | need_64bit_hwint=yes. | |
6 | * configure: Regenerate. | |
7 | ||
50f47ee0 JM |
8 | 2004-11-09 Joseph S. Myers <joseph@codesourcery.com> |
9 | ||
10 | * Makefile.in ($(PACKAGE).pot): New rule. Depend on | |
11 | po/$(PACKAGE).pot. | |
12 | (po/$(PACKAGE).pot): Use ":" instead of "," in --keyword | |
13 | arguments. Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2. | |
14 | Remove local srcdir path from generated file. | |
15 | ||
968e08d6 ZW |
16 | 2004-11-04 Zack Weinberg <zack@codesourcery.com> |
17 | Gerald Pfeifer <gerald@pfeifer.com> | |
18 | ||
19 | * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H | |
20 | as well. | |
21 | ||
3da3d587 ZW |
22 | 2004-10-27 Zack Weinberg <zack@codesourcery.com> |
23 | ||
24 | PR 18075 | |
25 | * directives.c (do_pragma): Do not defer pragmas which are unknown. | |
26 | (cpp_handle_deferred_pragma): Add cast to silence warning. | |
27 | ||
ac24fc25 JM |
28 | 2004-10-14 Joseph S. Myers <jsm@polyomino.org.uk> |
29 | ||
30 | * errors.c (_cpp_begin_message): Print "error: " for errors. | |
31 | ||
7731405b AJ |
32 | 2004-10-10 Andreas Jaeger <aj@suse.de> |
33 | ||
34 | * makedepend.c: Include mkdeps.h for prototype of deps_add_vpath. | |
35 | * Makefile.in (makedepend.o): Add dependency on mkdeps.h. | |
36 | ||
646544e3 AP |
37 | 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> |
38 | ||
39 | * pch.c (cpp_write_pch_state): Remove variable z as it is not | |
40 | used. | |
41 | (cpp_read_state): Remove unused variables, m, d and mac_count. | |
42 | ||
67a74146 PB |
43 | 2004-09-29 Per Bothner <per@bothner.com> |
44 | ||
45 | * directives.c (cpp_handle_deferred_pragma): Save, clear and restore | |
46 | cb.line_change. Otherwise do_pragma will call the line_change | |
47 | call-back with a meaningless line number. | |
48 | ||
018a4785 ZW |
49 | 2004-09-24 Zack Weinberg <zack@codesourcery.com> |
50 | ||
51 | * configure.ac: Move AC_PROG_MAKE_SET, AC_PROG_INSTALL to | |
52 | programs cluster. Use ACX_PROG_CC_WARNING_OPTS, | |
53 | ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_PROG_CC_WARNINGS_ARE_ERRORS. | |
54 | * aclocal.m4, configure: Regenerate. | |
55 | * init.c: Include localedir.h. | |
56 | * Makefile.in (WARN_CFLAGS, ALL_CFLAGS): New variables. | |
57 | (DEFS): Delete. | |
58 | (.c.o): Use $(ALL_CFLAGS). | |
59 | (localedir.h, localedir.hs): New rules. | |
60 | (clean): Use rm -rf to remove directories. | |
61 | (distclean): Also delete localedir.h and localedir.hs. | |
62 | (init.o): Update dependencies. | |
63 | ||
88fa57d7 KC |
64 | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> |
65 | ||
66 | * Makefile.in (aclocal.m4): Update dependencies. | |
67 | * configure.ac (AC_CONFIG_MACRO_DIR): New. | |
68 | * aclocal.m4, configure: Regenerate. | |
69 | ||
8f8e9aa5 ZW |
70 | 2004-09-17 Zack Weinberg <zack@codesourcery.com> |
71 | ||
a29f62d9 ZW |
72 | * charset.c (_cpp_destroy_iconv, emit_numeric_escape) |
73 | (_cpp_convert_input, _cpp_default_encoding): Add comments. | |
74 | Some other comments in this file also tweaked. | |
75 | ||
8f8e9aa5 ZW |
76 | * directives.c (do_pragma): Save current buffer position |
77 | before lexing the pragma keywords; don't call | |
78 | _cpp_backup_tokens in the defer_pragmas case. | |
79 | ||
a2981930 PB |
80 | 2004-09-15 Per Bothner <per@bothner.com> |
81 | ||
82 | * include/line-map.h (line_map_start): Add parameter names so | |
83 | preceding comment makes sense. | |
84 | (linemap_add): Remove from comment mention of non-existing parameter. | |
85 | ||
21b11495 ZW |
86 | 2004-09-09 Matt Austern <austern@apple.com> |
87 | Zack Weinberg <zack@codesourcery.com> | |
88 | ||
89 | * include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_ | |
90 | prefixes throughout. Add entry for PRAGMA. Remove | |
91 | unnecessary "= 0" from EQ. | |
92 | (enum cpp_ttype): Adjust OP and TK definitions to restore | |
93 | prefixes, via token-paste. | |
94 | (CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP): | |
95 | Change from #defines to additional cpp_ttype enumerators. | |
96 | (struct cpp_options): Add defer_pragmas. | |
97 | (cpp_handle_deferred_pragma): Prototype new interface. | |
98 | ||
99 | * internal.h (struct cpp_reader): Add directive_result. | |
100 | * directives.c (struct pragma_entry): Add is_internal field; | |
101 | give boolean fields type bool. | |
102 | (start_directive): Initialize pfile->directive_result.type. | |
103 | (_cpp_do__Pragma): Likewise. | |
104 | (run_directive): Do not crash if pfile->buffer->prev is NULL. | |
105 | (insert_pragma_entry): Add 'internal' argument; set new->is_internal | |
106 | from it. | |
107 | (register_pragma): New static function, bulk of former | |
108 | cpp_register_pragma here; add 'internal' argument, pass along | |
109 | to insert_pragma_entry. | |
110 | (cpp_register_pragma): Now a wrapper around register_pragma which | |
111 | always passes false for 'internal' argument. | |
112 | (_cpp_init_internal_pragmas): Call register_pragma directly, passing | |
113 | true for 'internal'. | |
114 | (do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't | |
115 | an internal pragma, save text till the end of the line as a CPP_PRAGMA | |
116 | token instead of executing the pragma. | |
117 | (cpp_handle_deferred_pragma): New interface. | |
118 | * lex.c (token_spellings): Adjust OP and TK definitions to | |
119 | match changes to cpplib.h. | |
120 | (_cpp_lex_token): Check for a directive-result token and | |
121 | return it if present. | |
122 | (cpp_token_val_index): Handle CPP_PRAGMA. | |
123 | * macro.c (cpp_builtin_macro_text): Correct comment. | |
124 | (builtin_macro): Handle directive-result tokens from _cpp_do__Pragma. | |
125 | ||
0fd9e8dd SB |
126 | 2004-09-06 Serge Belyshev <belyshev@lubercy.com> |
127 | ||
128 | PR preprocessor/14699 | |
129 | * symtab.c (ht_dump_statistics): Change type of sum_of_squares | |
130 | from size_t to double. | |
131 | ||
39b8ce7f AS |
132 | 2004-08-28 Andreas Schwab <schwab@suse.de> |
133 | Andreas Jaeger <aj@suse.de> | |
134 | ||
135 | * configure.ac: Set PACKAGE correctly. | |
136 | * configure: Regenerated. | |
137 | ||
5d1f4b27 PB |
138 | 2004-08-25 Paolo Bonzini <bonzini@gnu.org> |
139 | ||
140 | * Makefile.in: Add back top_builddir. | |
141 | ||
078e3ffe PB |
142 | 2004-08-25 Paolo Bonzini <bonzini@gnu.org> |
143 | ||
144 | * configure.ac: Replace Automake macro invocations | |
145 | with manual Autoconf checks and substitutions. | |
146 | * configure: Regenerate. | |
147 | * aclocal.m4: Regenerate. | |
148 | * config.in: Regenerate. | |
149 | * Makefile.am: Removed. | |
150 | * Makefile.in: Heavy simplification and reorganization. | |
151 | ||
b3f8d95d MM |
152 | 2004-08-09 Mark Mitchell <mark@codesourcery.com> |
153 | ||
154 | * configure.ac (arm*-*-eabi*): New target. | |
155 | (arm*-*-symbianelf*): Likewise. | |
156 | * configure: Regenerated. | |
157 | ||
72bb2c39 BI |
158 | 2004-07-24 Bernardo Innocenti <bernie@develer.com> |
159 | ||
160 | * internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove. | |
161 | * directives.c: Use XNEW-family macros from libiberty. | |
162 | * lex.c: Likewise. | |
163 | * macro.c: Likewise. | |
164 | * cpplib.h (cpp_deps_style): Export enum with name. | |
165 | ||
21b11495 | 166 | 2004-07-23 Matthias Klose <doko@debian.org> |
72bb2c39 | 167 | |
21b11495 | 168 | * init.c (init_library): Use PACKAGE for the text domain. |
85eac2a0 | 169 | |
a23ee064 AP |
170 | 2004-07-16 Andris Pavenis <pavenis@latnet.lv> |
171 | ||
172 | PR preprocessor/16366 | |
173 | * internal.h (struct cpp_reader): New field dir_hash. | |
174 | * files.c (make_cpp_dir): Use dir_hash, not file_hash. | |
175 | (_cpp_init_files, _cpp_cleanup_files): Update for new field. | |
176 | ||
a09d4744 NB |
177 | 2004-07-04 Neil Booth <neil@duron.akihabara.co.uk> |
178 | ||
179 | PR preprocessor/16192 | |
180 | PR preprocessor/15913 | |
181 | PR preprocessor/15572 | |
182 | * expr.c (_cpp_parse_expr): Handle remaining cases where an | |
183 | expression is missing. | |
184 | * init.c (post_options): Traditional cpp doesn't do // comments. | |
185 | ||
f58f7def PB |
186 | 2004-06-30 Per Bothner <per@bothner.com> |
187 | ||
188 | * include/line-map.h (fileline): Remove old typedef. | |
189 | * internal.h (struct cpp_reader): Use source_location typedef instead. | |
190 | ||
e83d8d43 ZW |
191 | 2004-06-26 Zack Weinberg <zack@codesourcery.com> |
192 | ||
193 | Partially revert patch of 2004-06-05. | |
194 | * files.c (search_cache): Remove pfile argument. Don't check | |
195 | for file that would be found by "" or <> search here... | |
196 | (_cpp_find_file): ...do it here, before calling find_file_in_dir. | |
197 | Do not apply directory-of-current-file correction to files | |
198 | found by this check. Rearrange code slightly. | |
199 | ||
c0d578e6 GK |
200 | 2004-06-21 Geoffrey Keating <geoffk@apple.com> |
201 | ||
202 | * files.c (should_stack_file): Correct swapped parameters to call | |
203 | to cb.read_pch. | |
204 | * pch.c (cpp_valid_state): Handle -fpreprocessed. | |
205 | ||
159d5224 PB |
206 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
207 | ||
208 | * Makefile.in: Regenerate with automake 1.8.5. | |
209 | * aclocal.m4: Likewise. | |
210 | * configure: Regenerate. | |
211 | ||
2fac9c01 ZW |
212 | 2004-06-11 Zack Weinberg <zack@codesourcery.com> |
213 | ||
214 | * configure.ac: Don't invoke ACX_HEADER_STDBOOL. | |
215 | * configure, config.in: Regenerate. | |
216 | * system.h: Unconditionally define bool as unsigned char, | |
217 | BOOL_BITFIELD as unsigned int. | |
218 | * .cvsignore: New file. | |
219 | ||
d8044160 GK |
220 | 2004-06-09 Geoffrey Keating <geoffk@apple.com> |
221 | ||
222 | * traditional.c (push_replacement_text): Set macro->traditional. | |
223 | (save_replacement_text): Likewise. | |
224 | * pch.c (cpp_write_pch_state): Don't write list of defined macros. | |
225 | (struct save_macro_item): Delete. | |
226 | (struct save_macro_data): Use a character array not the previous | |
227 | structured format. | |
228 | (save_macros): Save macro as text not as internal structures. | |
229 | (cpp_prepare_state): Update for changes to save_macro_data. | |
230 | (cpp_read_state): Don't read macros defined in PCH. Restore | |
2cf22451 | 231 | -D macros as text. |
d8044160 GK |
232 | * macro.c (create_iso_definition): Honour alloc_subobject. |
233 | Clear traditional flag. | |
234 | (_cpp_create_definition): Honour alloc_subobject. | |
235 | * lex.c (cpp_token_val_index): New. | |
236 | * internal.h: Include cpp-id-data.h. | |
237 | (uchar): Move definition to cpp-id-data.h. | |
238 | (U): Likewise. | |
239 | (cpp_macro): Likewise. | |
240 | * directives.c (struct answer): Move to cpp-id-data.h. | |
241 | (do_assert): Honour alloc_subobject. | |
2cf22451 ZW |
242 | |
243 | * include/symtab.h (struct ht): Add field 'alloc_subobject'. | |
244 | * include/cpplib.h (struct cpp_string): Add GTY marker. | |
245 | (enum cpp_token_fld_kind): New. | |
246 | (struct cpp_token): Add GTY markers. | |
247 | (cpp_token_val_index): Prototype. | |
248 | (CPP_HASHNODE_VALUE_IDX): New. | |
249 | (struct cpp_hashnode): Don't skip fields of 'value' when marking. | |
250 | * include/cpp-id-data.h: New file. | |
d8044160 | 251 | |
0ca8e815 PB |
252 | 2004-06-09 Paolo Bonzini <bonzini@gnu.org> |
253 | ||
254 | * Makefile.am (all-local): New. | |
255 | * Makefile.in: Regenerate. | |
256 | ||
b51fa00f RS |
257 | 2004-06-06 Roger Sayle <roger@eyesopen.com> |
258 | ||
259 | * Makefile.am (LIBICONV): Declare. | |
260 | (makedepend_LDADD): Use LIBICONV. | |
261 | * Makefile.in: Regenerate. | |
262 | ||
5e2f3f39 AP |
263 | 2004-06-05 Andrew Pinski <pinskia@physics.uc.edu> |
264 | ||
265 | * Makefile.am (LIBINTL): Declare | |
266 | (makedepend_LDADD): Use LIBINTL. | |
267 | * Makefile.in: Regenerate. | |
268 | ||
c6e83800 ZW |
269 | 2004-06-05 Zack Weinberg <zack@codesourcery.com> |
270 | ||
271 | * Makefile.am: Add makedepend. | |
272 | * Makefile.in, aclocal.m4: Regenerate. | |
273 | * charset.c: Insert a space to avoid a warning. | |
274 | * directives.c: Include mkdeps.h. | |
275 | (_cpp_handle_directive): Reenable macro expander if appropriate. | |
276 | (undefine_macros): Inline body of _cpp_free_definition for speed. | |
277 | Do not call undef callback or _cpp_warn_if_unused_macro. | |
278 | (cpp_get_deps): New interface. | |
279 | * files.c (search_cache): Add pfile argument. Check for file | |
280 | that would be found by "" or <> search here... | |
281 | (_cpp_find_file): ...not here. Correct recorded start_dir of | |
282 | files found by directory-of-current-file search that would be | |
283 | found by "" or <> search. | |
284 | * init.c (cpp_add_dependency_target): Delete. | |
285 | * internal.h (struct lexer_state): Add discarding_output flag. | |
286 | * lex.c (lex_identifier): Compute hash function while scanning. | |
287 | * macro.c (cpp_scan_nooutput): Disable macro expansion outside | |
288 | directives. | |
289 | * makedepend.c: New file. | |
290 | * mkdeps.c (struct deps): Add vpath vector. | |
291 | (apply_vpath, deps_add_vpath): New function. | |
292 | (deps_free): Free vpath vector. | |
293 | (deps_add_dep, deps_add_target): Use apply_vpath. | |
294 | * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH. | |
295 | (ht_lookup_with_hash): New function. | |
296 | * cpplib.h, mkdeps.h: Update prototypes. | |
297 | * symtab.h: Update prototypes. | |
298 | (HT_HASHSTEP, HT_FINISH): New macros. | |
299 | ||
b453c95f GK |
300 | 2004-05-29 Geoffrey Keating <geoffk@apple.com> |
301 | ||
302 | * symtab.c (ht_create): Set entries_owned. | |
303 | (ht_destroy): Honour entries_owned. | |
304 | (ht_expand): Likewise. | |
305 | (ht_load): New. | |
2cf22451 ZW |
306 | * include/symtab.h (struct ht): New field 'entries_owned' |
307 | (ht_load): New prototype. | |
b453c95f | 308 | |
963e23c5 PB |
309 | 2004-05-26 Paolo Bonzini <bonzini@gnu.org> |
310 | ||
311 | PR bootstrap/15651 | |
312 | * configure.ac: Fix m4 quoting when picking | |
313 | the size of HOST_WIDE_INT. | |
314 | * configure: Regenerate. | |
315 | ||
0429bc77 PB |
316 | 2004-05-25 Paolo Bonzini <bonzini@gnu.org> |
317 | ||
318 | * Makefile.am: the correct directory for | |
319 | gettext include files is given by @INCINTL@. | |
320 | * Makefile.in: Regenerate. | |
321 | ||
c86dd7db PB |
322 | 2004-05-24 Paolo Bonzini <bonzini@gnu.org> |
323 | ||
324 | * system.h [!ENABLE_NLS]: dgettext takes two | |
325 | parameters. | |
326 | ||
4f4e53dd PB |
327 | 2004-05-23 Paolo Bonzini <bonzini@gnu.org> |
328 | ||
329 | Moved libcpp from the gcc subdirectory to the toplevel. | |
330 | * Makefile.am: New file. | |
331 | * Makefile.in: Regenerate. | |
332 | * configure.ac: New file. | |
333 | * configure: Regenerate. | |
334 | * config.in: Regenerate. | |
335 | * charset.c: Moved from gcc/cppcharset.c. Add note about | |
336 | brokenness of input charset detection. Adjust for change | |
337 | in name of cppucnid.h. | |
338 | * errors.c: Moved from gcc/cpperror.c. Do not include intl.h. | |
339 | * expr.c: Moved from gcc/cppexp.c. | |
340 | * files.c: Moved from gcc/cppfiles.c. Do not include intl.h. | |
341 | Remove #define of O_BINARY, it is in system.h. | |
342 | * identifiers.c: Moved from gcc/cpphash.c. | |
343 | * internal.h: Moved from gcc/cpphash.h. Change header | |
344 | guard name. All other files adjusted to match name change. | |
345 | * init.c: Moved from gcc/cppinit.c. | |
346 | (init_library) [ENABLE_NLS]: Call bindtextdomain. | |
347 | * lex.c: Moved from gcc/cpplex.c. | |
348 | * directives.c: Moved from gcc/cpplib.c. | |
349 | * macro.c: Moved from gcc/cppmacro.c. | |
350 | * pch.c: Moved from gcc/cpppch.c. Do not include intl.h. | |
351 | * traditional.c: Moved from gcc/cpptrad.c. | |
352 | * ucnid.h: Moved from gcc/cppucnid.h. Change header | |
353 | guard name. | |
354 | * ucnid.pl: Moved from gcc/cppucnid.pl. | |
355 | * ucnid.tab: Moved from gcc/cppucnid.tab. Change header | |
356 | guard name. | |
357 | * symtab.c: Moved from gcc/hashtable.c. | |
358 | * line-map.c: Moved from gcc. Do not include intl.h. | |
359 | * mkdeps.c: Moved from gcc. | |
360 | * system.h: New file. | |
2cf22451 ZW |
361 | * include/cpplib.h: Moved from gcc. Change header guard name. |
362 | * include/line-map.h: Moved from gcc. Change header guard name. | |
363 | * include/mkdeps.h: Moved from gcc. Change header guard name. | |
364 | * include/symtab.h: Moved from gcc/hashtable.h. Change header | |
365 | guard name. |