]> git.ipfire.org Git - thirdparty/gcc.git/blame - libcpp/ChangeLog
Revert latest accidental commit.
[thirdparty/gcc.git] / libcpp / ChangeLog
CommitLineData
473c5bc9
AP
12005-04-27 Andris Pavenis <pavenis@latnet.lv>
2
3 * files.c: Include io.h for DJGPP to get prototype of setmode.
4
c1fc5047
PB
52005-04-19 Per Bothner <per@bothner.com>
6
7 PR preprocessor/20907
8 * line-map.c (linemap_line_start): Fix bug when we need to increse
9 column_bits but can re-use the current line_map.
10
042630ad
KG
112005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12
13 * system.h (fopen, fdopen, freopen): Define these to the unlocked
14 libiberty functions.
15
0d667716
KG
162005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17
18 * configure.ac (libcpp_UNLOCKED_FUNCS): New.
19 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
20 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
21 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
22 _unlocked function.
23 (fwrite_unlocked): Fix prototype.
24
25 * configure, config.in: Regenerate.
26
cae064e7
JJ
272005-04-05 Jakub Jelinek <jakub@redhat.com>
28
29 PR preprocessor/19475
30 * macro.c (create_iso_definition): For < ISO C99, don't
31 pedwarn if there is no whitespace between macro name and its
32 replacement, but the replacement starts with a basic character
33 set character.
34
cbada204
AJ
352005-03-28 Andreas Jaeger <aj@suse.de>
36
37 * lex.c (warn_about_normalization): Cast field width to int to
38 avoid warning.
39
f42eccdb
JM
402005-03-19 Joseph S. Myers <joseph@codesourcery.com>
41
42 * configure.ac: Consistently use solaris2.1[0-9]* instead of
43 solaris2.1[0-9].
44 * configure: Regenerate.
45
c79e602b
GK
462005-03-15 Geoffrey Keating <geoffk@apple.com>
47
48 * charset.c (_cpp_valid_ucn): In identifiers, reject a partial
49 UCN rather than printing an error.
50
50668cf6
GK
512005-03-14 Geoffrey Keating <geoffk@apple.com>
52
6baba9bb
GK
53 * lex.c (forms_identifier_p): Disable UCNs in C89 mode.
54
552005-03-14 Geoffrey Keating <geoffk@apple.com>
56
50668cf6
GK
57 * init.c (cpp_create_reader): Default warn_normalize to normalized_C.
58 * charset.c: Update for new format of ucnid.h.
59 (ucn_valid_in_identifier): Update for new format of ucnid.h.
60 Add NST parameter, and update it; update callers.
61 (cpp_valid_ucn): Add NST parameter, update callers. Replace abort
62 with cpp_error.
63 (convert_ucn): Pass normalize_state to cpp_valid_ucn.
64 * internal.h (struct normalize_state): New.
65 (INITIAL_NORMALIZE_STATE): New.
66 (NORMALIZE_STATE_RESULT): New.
67 (NORMALIZE_STATE_UPDATE_IDNUM): New.
68 (_cpp_valid_ucn): New.
69 * lex.c (warn_about_normalization): New.
70 (forms_identifier_p): Add normalize_state parameter, update callers.
71 (lex_identifier): Add normalize_state parameter, update callers. Keep
72 the state current.
73 (lex_number): Likewise.
74 (_cpp_lex_direct): Pass normalize_state to subroutines. Check
75 it with warn_about_normalization.
76 * makeucnid.c: New.
77 * ucnid.h: Replace.
78 * ucnid.pl: Remove.
79 * ucnid.tab: Make appropriate for input to makeucnid.c. Remove
80 comments about obsolete version of C++.
81 * include/cpplib.h (enum cpp_normalize_level): New.
82 (struct cpp_options): Add warn_normalize field.
83
47e20491
GK
842005-03-11 Geoffrey Keating <geoffk@apple.com>
85
86 * directives.c (glue_header_name): Update call to cpp_spell_token.
87 * internal.h (_cpp_interpret_identifier): New.
88 * charset.c (_cpp_interpret_identifier): New.
89 (_cpp_valid_ucn): Allow UCN version of '$'.
90 * lex.c (lex_identifier): Add extra parameter to indicate if initial
91 character was '$' or '\'. Support identifiers with UCNs.
92 (forms_identifier_p): Allow UCNs.
93 (_cpp_lex_direct): Pass extra parameter to lex_identifier.
94 (utf8_to_ucn): New.
95 (cpp_spell_token): Add FORSTRING parameter. Use it.
96 (cpp_token_as_text): Update call to cpp_spell_token.
97 (cpp_output_token): Write UCNs back out.
98 (stringify_arg): Update call to cpp_spell_token.
99 (paste_tokens): Likewise.
100 (cpp_macro_definition): Likewise.
101 * macro.c (stringify_arg): Likewise.
102 (paste_tokens): Likewise.
103 (cpp_macro_definition): Likewise.
104 * include/cpplib.h: Add parameter to cpp_spell_token.
105
73096711
JJ
1062005-03-04 Jakub Jelinek <jakub@redhat.com>
107
108 PR bootstrap/20282
109 PR bootstrap/20305
110 * macro.c (replace_args, cpp_get_token): Copy whole
111 cpp_token_u instead of just cpp_string field from it.
112
2203a881
DP
1132005-02-28 Devang Patel <dpatel@apple.com>
114
115 * directives.c (do_line): Save sysp early before line table is
116 realloc'ed.
117
c5ff069d
ZW
1182005-02-20 Zack Weinberg <zack@codesourcery.com>
119
120 PR 18785
121 * charset.c (LAST_POSSIBLY_BASIC_SOURCE_CHAR): New helper macro.
122 (cpp_host_to_exec_charset): New function.
123 * include/cpplib.h: Declare cpp_host_to_exec_charset.
124
04c90eea
DP
1252005-02-19 Devang Patel <dpatel@apple.com>
126
127 * charset.c (_cpp_convert_input): Check '\r' before inserting
128 '\n' at the end.
c5ff069d 129
6da55c00
EC
1302005-02-15 Eric Christopher <echristo@redhat.com>
131
132 PR preprocessor/19077
133 * macro.c (cpp_macro_definition): Move handling of whitespace
134 to PREV_WHITE conditional. Remove overloading of len
135 variable.
136
31c3e631
KH
1372005-02-14 Kazu Hirata <kazu@cs.umass.edu>
138
139 * directives.c, files.c, init.c, internal.h, macro.c, pch.c,
140 traditional.c: Update copyright.
141
be0f1e54
PB
1422005-02-14 Paolo Bonzini <bonzini@gnu.org>
143
144 PR bootstrap/19818
145 * configure.ac: Check for declaration of basename and getopt.
146 * config.in: Regenerate.
147 * configure: Regenerate.
148 * internal.h (ustrcspn): New.
149 * macro.c (create_iso_definition): Fix allocation of memory.
150 (padding_token): Add cast to remove const-ness.
151 * pch.c (cpp_read_state): Use ustrcspn.
152
ecddfb39
MS
1532005-02-08 Mike Stump <mrs@apple.com>
154
155 * files.c (pchf_adder): Remove.
156 (struct pchf_adder_info): Likewise.
157 (_cpp_save_file_entries): Write out all files so that #import works.
158
9fcdd891
JM
1592005-01-23 Joseph S. Myers <joseph@codesourcery.com>
160
161 * configure: Regenerate.
162
ecfd72e7
TS
1632005-01-11 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
164
165 * include/cpplib.h (c_lang): Fix comment to say cpp_create_reader.
166
6c25a4f7 167 * include/cpplib.h: Also update copyright years.
c5ff069d 168
942926ad
GK
1692005-01-03 Geoffrey Keating <geoffk@apple.com>
170
171 * files.c (_cpp_find_file): Add files found by search_path_exhausted
172 to the list of all files.
173
a2566ae9
GDR
1742005-01-01 Gabriel Dos Reis <gdr@integrable-solutions.net>
175
176 * internal.h: Update references to Cpp lib filenames.
177 * directives.c: Likewise.
178 * init.c: Likewise.
179 * macro.c: Likewise.
180 * traditional.c: Likewise.
181
1b449375
EB
1822004-12-15 Eric Botcazou <ebotcazou@libertysurf.fr>
183
184 PR preprocessor/15167
185 * files.c (destroy_cpp_file): New function.
186 (should_stack_file): Make a new file if the
187 compared file is still stacked.
188
28303828
NN
1892004-11-28 Nathanael Nerode <neroden@gcc.gnu.org>
190
c5ff069d 191 PR preprocessor/17610
28303828
NN
192 * directives.c (do_include_common): Error out if an empty filename
193 is given for #include (or #include_next or #import).
194
c812785a
RS
1952004-11-27 Roger Sayle <roger@eyesopen.com>
196 Zack Weinberg <zack@codesourcery.com>
197
198 * internal.h: Replace all uses of uchar with unsigned char.
199 * include/cpp-id-data.h: Likewise. Guard typedef of uchar
200 with !IN_GCC, so uchar is only defined whilst building libcpp.
201
f91eaa01
KC
2022004-11-24 Kelley Cook <kcook@gcc.gnu.org>
203
204 * aclocal.m4: Regenerate.
205
f78ce0c2
RS
2062004-11-24 Roger Sayle <roger@eyesopen.com>
207
208 PR preprocessor/15824
209 * configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
210 directly, instead of the non-existant "system.h" and "ansidecl.h".
211 * configure: Regenerate.
212
b5b3e36a 2132004-11-23 Daniel Jacobowitz <dan@codesourcery.com>
c5ff069d 214 Joseph Myers <joseph@codesourcery.com>
b5b3e36a
DJ
215
216 * internal.h (struct lexer_state): Add in_deferred_pragma.
217 * directives.c (struct pragma_entry): Add allow_expansion.
218 (insert_pragma_entry): Take allow_expansion flag.
219 (register_pragma): Likewise.
220 (cpp_register_pragma): Likewise.
221 (_cpp_init_internal_pragmas): Update calls to cpp_register_pragma.
222 (do_pragma): Honor allow_expansion.
223 (cpp_handle_deferred_pragma): Set in_deferred_pragma.
224 * include/cpplib.h (cpp_register_pragma): Update prototype.
225
a8e68029 2262004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
c5ff069d 227 Mark Mitchell <mark@codesourcery.com>
a8e68029
DJ
228
229 * configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set
230 need_64bit_hwint=yes.
231 * configure: Regenerate.
232
50f47ee0
JM
2332004-11-09 Joseph S. Myers <joseph@codesourcery.com>
234
235 * Makefile.in ($(PACKAGE).pot): New rule. Depend on
236 po/$(PACKAGE).pot.
237 (po/$(PACKAGE).pot): Use ":" instead of "," in --keyword
238 arguments. Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2.
239 Remove local srcdir path from generated file.
240
968e08d6 2412004-11-04 Zack Weinberg <zack@codesourcery.com>
c5ff069d 242 Gerald Pfeifer <gerald@pfeifer.com>
968e08d6
ZW
243
244 * internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
245 as well.
246
3da3d587
ZW
2472004-10-27 Zack Weinberg <zack@codesourcery.com>
248
249 PR 18075
250 * directives.c (do_pragma): Do not defer pragmas which are unknown.
251 (cpp_handle_deferred_pragma): Add cast to silence warning.
252
ac24fc25
JM
2532004-10-14 Joseph S. Myers <jsm@polyomino.org.uk>
254
255 * errors.c (_cpp_begin_message): Print "error: " for errors.
256
7731405b
AJ
2572004-10-10 Andreas Jaeger <aj@suse.de>
258
259 * makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
260 * Makefile.in (makedepend.o): Add dependency on mkdeps.h.
261
646544e3
AP
2622004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
263
264 * pch.c (cpp_write_pch_state): Remove variable z as it is not
265 used.
266 (cpp_read_state): Remove unused variables, m, d and mac_count.
267
67a74146
PB
2682004-09-29 Per Bothner <per@bothner.com>
269
270 * directives.c (cpp_handle_deferred_pragma): Save, clear and restore
271 cb.line_change. Otherwise do_pragma will call the line_change
272 call-back with a meaningless line number.
273
018a4785
ZW
2742004-09-24 Zack Weinberg <zack@codesourcery.com>
275
276 * configure.ac: Move AC_PROG_MAKE_SET, AC_PROG_INSTALL to
277 programs cluster. Use ACX_PROG_CC_WARNING_OPTS,
278 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_PROG_CC_WARNINGS_ARE_ERRORS.
279 * aclocal.m4, configure: Regenerate.
280 * init.c: Include localedir.h.
281 * Makefile.in (WARN_CFLAGS, ALL_CFLAGS): New variables.
282 (DEFS): Delete.
283 (.c.o): Use $(ALL_CFLAGS).
284 (localedir.h, localedir.hs): New rules.
285 (clean): Use rm -rf to remove directories.
286 (distclean): Also delete localedir.h and localedir.hs.
287 (init.o): Update dependencies.
288
88fa57d7
KC
2892004-09-22 Kelley Cook <kcook@gcc.gnu.org>
290
291 * Makefile.in (aclocal.m4): Update dependencies.
292 * configure.ac (AC_CONFIG_MACRO_DIR): New.
293 * aclocal.m4, configure: Regenerate.
294
8f8e9aa5
ZW
2952004-09-17 Zack Weinberg <zack@codesourcery.com>
296
a29f62d9
ZW
297 * charset.c (_cpp_destroy_iconv, emit_numeric_escape)
298 (_cpp_convert_input, _cpp_default_encoding): Add comments.
299 Some other comments in this file also tweaked.
300
8f8e9aa5
ZW
301 * directives.c (do_pragma): Save current buffer position
302 before lexing the pragma keywords; don't call
303 _cpp_backup_tokens in the defer_pragmas case.
304
a2981930
PB
3052004-09-15 Per Bothner <per@bothner.com>
306
307 * include/line-map.h (line_map_start): Add parameter names so
308 preceding comment makes sense.
309 (linemap_add): Remove from comment mention of non-existing parameter.
310
21b11495
ZW
3112004-09-09 Matt Austern <austern@apple.com>
312 Zack Weinberg <zack@codesourcery.com>
313
314 * include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_
315 prefixes throughout. Add entry for PRAGMA. Remove
316 unnecessary "= 0" from EQ.
317 (enum cpp_ttype): Adjust OP and TK definitions to restore
318 prefixes, via token-paste.
319 (CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP):
320 Change from #defines to additional cpp_ttype enumerators.
321 (struct cpp_options): Add defer_pragmas.
322 (cpp_handle_deferred_pragma): Prototype new interface.
323
324 * internal.h (struct cpp_reader): Add directive_result.
325 * directives.c (struct pragma_entry): Add is_internal field;
326 give boolean fields type bool.
327 (start_directive): Initialize pfile->directive_result.type.
328 (_cpp_do__Pragma): Likewise.
329 (run_directive): Do not crash if pfile->buffer->prev is NULL.
330 (insert_pragma_entry): Add 'internal' argument; set new->is_internal
331 from it.
332 (register_pragma): New static function, bulk of former
333 cpp_register_pragma here; add 'internal' argument, pass along
334 to insert_pragma_entry.
335 (cpp_register_pragma): Now a wrapper around register_pragma which
336 always passes false for 'internal' argument.
337 (_cpp_init_internal_pragmas): Call register_pragma directly, passing
338 true for 'internal'.
339 (do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't
340 an internal pragma, save text till the end of the line as a CPP_PRAGMA
341 token instead of executing the pragma.
342 (cpp_handle_deferred_pragma): New interface.
343 * lex.c (token_spellings): Adjust OP and TK definitions to
344 match changes to cpplib.h.
345 (_cpp_lex_token): Check for a directive-result token and
346 return it if present.
347 (cpp_token_val_index): Handle CPP_PRAGMA.
348 * macro.c (cpp_builtin_macro_text): Correct comment.
349 (builtin_macro): Handle directive-result tokens from _cpp_do__Pragma.
350
0fd9e8dd
SB
3512004-09-06 Serge Belyshev <belyshev@lubercy.com>
352
353 PR preprocessor/14699
354 * symtab.c (ht_dump_statistics): Change type of sum_of_squares
355 from size_t to double.
356
39b8ce7f
AS
3572004-08-28 Andreas Schwab <schwab@suse.de>
358 Andreas Jaeger <aj@suse.de>
359
360 * configure.ac: Set PACKAGE correctly.
361 * configure: Regenerated.
362
5d1f4b27
PB
3632004-08-25 Paolo Bonzini <bonzini@gnu.org>
364
365 * Makefile.in: Add back top_builddir.
366
078e3ffe
PB
3672004-08-25 Paolo Bonzini <bonzini@gnu.org>
368
369 * configure.ac: Replace Automake macro invocations
370 with manual Autoconf checks and substitutions.
371 * configure: Regenerate.
372 * aclocal.m4: Regenerate.
373 * config.in: Regenerate.
374 * Makefile.am: Removed.
375 * Makefile.in: Heavy simplification and reorganization.
376
b3f8d95d
MM
3772004-08-09 Mark Mitchell <mark@codesourcery.com>
378
379 * configure.ac (arm*-*-eabi*): New target.
380 (arm*-*-symbianelf*): Likewise.
381 * configure: Regenerated.
382
72bb2c39
BI
3832004-07-24 Bernardo Innocenti <bernie@develer.com>
384
385 * internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove.
386 * directives.c: Use XNEW-family macros from libiberty.
387 * lex.c: Likewise.
388 * macro.c: Likewise.
389 * cpplib.h (cpp_deps_style): Export enum with name.
390
21b11495 3912004-07-23 Matthias Klose <doko@debian.org>
72bb2c39 392
21b11495 393 * init.c (init_library): Use PACKAGE for the text domain.
85eac2a0 394
a23ee064
AP
3952004-07-16 Andris Pavenis <pavenis@latnet.lv>
396
397 PR preprocessor/16366
398 * internal.h (struct cpp_reader): New field dir_hash.
399 * files.c (make_cpp_dir): Use dir_hash, not file_hash.
400 (_cpp_init_files, _cpp_cleanup_files): Update for new field.
401
a09d4744
NB
4022004-07-04 Neil Booth <neil@duron.akihabara.co.uk>
403
404 PR preprocessor/16192
405 PR preprocessor/15913
406 PR preprocessor/15572
407 * expr.c (_cpp_parse_expr): Handle remaining cases where an
408 expression is missing.
409 * init.c (post_options): Traditional cpp doesn't do // comments.
410
f58f7def
PB
4112004-06-30 Per Bothner <per@bothner.com>
412
413 * include/line-map.h (fileline): Remove old typedef.
414 * internal.h (struct cpp_reader): Use source_location typedef instead.
415
e83d8d43
ZW
4162004-06-26 Zack Weinberg <zack@codesourcery.com>
417
418 Partially revert patch of 2004-06-05.
419 * files.c (search_cache): Remove pfile argument. Don't check
420 for file that would be found by "" or <> search here...
421 (_cpp_find_file): ...do it here, before calling find_file_in_dir.
422 Do not apply directory-of-current-file correction to files
423 found by this check. Rearrange code slightly.
424
c0d578e6
GK
4252004-06-21 Geoffrey Keating <geoffk@apple.com>
426
427 * files.c (should_stack_file): Correct swapped parameters to call
428 to cb.read_pch.
429 * pch.c (cpp_valid_state): Handle -fpreprocessed.
430
159d5224
PB
4312004-06-15 Paolo Bonzini <bonzini@gnu.org>
432
433 * Makefile.in: Regenerate with automake 1.8.5.
434 * aclocal.m4: Likewise.
435 * configure: Regenerate.
436
2fac9c01
ZW
4372004-06-11 Zack Weinberg <zack@codesourcery.com>
438
439 * configure.ac: Don't invoke ACX_HEADER_STDBOOL.
440 * configure, config.in: Regenerate.
441 * system.h: Unconditionally define bool as unsigned char,
442 BOOL_BITFIELD as unsigned int.
443 * .cvsignore: New file.
444
d8044160
GK
4452004-06-09 Geoffrey Keating <geoffk@apple.com>
446
447 * traditional.c (push_replacement_text): Set macro->traditional.
448 (save_replacement_text): Likewise.
449 * pch.c (cpp_write_pch_state): Don't write list of defined macros.
450 (struct save_macro_item): Delete.
451 (struct save_macro_data): Use a character array not the previous
452 structured format.
453 (save_macros): Save macro as text not as internal structures.
454 (cpp_prepare_state): Update for changes to save_macro_data.
455 (cpp_read_state): Don't read macros defined in PCH. Restore
2cf22451 456 -D macros as text.
d8044160
GK
457 * macro.c (create_iso_definition): Honour alloc_subobject.
458 Clear traditional flag.
459 (_cpp_create_definition): Honour alloc_subobject.
460 * lex.c (cpp_token_val_index): New.
461 * internal.h: Include cpp-id-data.h.
462 (uchar): Move definition to cpp-id-data.h.
463 (U): Likewise.
464 (cpp_macro): Likewise.
465 * directives.c (struct answer): Move to cpp-id-data.h.
466 (do_assert): Honour alloc_subobject.
2cf22451
ZW
467
468 * include/symtab.h (struct ht): Add field 'alloc_subobject'.
469 * include/cpplib.h (struct cpp_string): Add GTY marker.
470 (enum cpp_token_fld_kind): New.
471 (struct cpp_token): Add GTY markers.
472 (cpp_token_val_index): Prototype.
473 (CPP_HASHNODE_VALUE_IDX): New.
474 (struct cpp_hashnode): Don't skip fields of 'value' when marking.
475 * include/cpp-id-data.h: New file.
d8044160 476
0ca8e815
PB
4772004-06-09 Paolo Bonzini <bonzini@gnu.org>
478
479 * Makefile.am (all-local): New.
480 * Makefile.in: Regenerate.
481
b51fa00f
RS
4822004-06-06 Roger Sayle <roger@eyesopen.com>
483
484 * Makefile.am (LIBICONV): Declare.
485 (makedepend_LDADD): Use LIBICONV.
486 * Makefile.in: Regenerate.
487
5e2f3f39
AP
4882004-06-05 Andrew Pinski <pinskia@physics.uc.edu>
489
490 * Makefile.am (LIBINTL): Declare
491 (makedepend_LDADD): Use LIBINTL.
492 * Makefile.in: Regenerate.
493
c6e83800
ZW
4942004-06-05 Zack Weinberg <zack@codesourcery.com>
495
496 * Makefile.am: Add makedepend.
497 * Makefile.in, aclocal.m4: Regenerate.
498 * charset.c: Insert a space to avoid a warning.
499 * directives.c: Include mkdeps.h.
500 (_cpp_handle_directive): Reenable macro expander if appropriate.
501 (undefine_macros): Inline body of _cpp_free_definition for speed.
502 Do not call undef callback or _cpp_warn_if_unused_macro.
503 (cpp_get_deps): New interface.
504 * files.c (search_cache): Add pfile argument. Check for file
505 that would be found by "" or <> search here...
506 (_cpp_find_file): ...not here. Correct recorded start_dir of
507 files found by directory-of-current-file search that would be
508 found by "" or <> search.
509 * init.c (cpp_add_dependency_target): Delete.
510 * internal.h (struct lexer_state): Add discarding_output flag.
511 * lex.c (lex_identifier): Compute hash function while scanning.
512 * macro.c (cpp_scan_nooutput): Disable macro expansion outside
513 directives.
514 * makedepend.c: New file.
515 * mkdeps.c (struct deps): Add vpath vector.
516 (apply_vpath, deps_add_vpath): New function.
517 (deps_free): Free vpath vector.
518 (deps_add_dep, deps_add_target): Use apply_vpath.
519 * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
520 (ht_lookup_with_hash): New function.
521 * cpplib.h, mkdeps.h: Update prototypes.
522 * symtab.h: Update prototypes.
523 (HT_HASHSTEP, HT_FINISH): New macros.
524
b453c95f
GK
5252004-05-29 Geoffrey Keating <geoffk@apple.com>
526
527 * symtab.c (ht_create): Set entries_owned.
528 (ht_destroy): Honour entries_owned.
529 (ht_expand): Likewise.
530 (ht_load): New.
2cf22451
ZW
531 * include/symtab.h (struct ht): New field 'entries_owned'
532 (ht_load): New prototype.
b453c95f 533
963e23c5
PB
5342004-05-26 Paolo Bonzini <bonzini@gnu.org>
535
536 PR bootstrap/15651
537 * configure.ac: Fix m4 quoting when picking
538 the size of HOST_WIDE_INT.
539 * configure: Regenerate.
540
0429bc77
PB
5412004-05-25 Paolo Bonzini <bonzini@gnu.org>
542
543 * Makefile.am: the correct directory for
544 gettext include files is given by @INCINTL@.
545 * Makefile.in: Regenerate.
546
c86dd7db
PB
5472004-05-24 Paolo Bonzini <bonzini@gnu.org>
548
549 * system.h [!ENABLE_NLS]: dgettext takes two
550 parameters.
551
4f4e53dd
PB
5522004-05-23 Paolo Bonzini <bonzini@gnu.org>
553
554 Moved libcpp from the gcc subdirectory to the toplevel.
555 * Makefile.am: New file.
556 * Makefile.in: Regenerate.
557 * configure.ac: New file.
558 * configure: Regenerate.
559 * config.in: Regenerate.
560 * charset.c: Moved from gcc/cppcharset.c. Add note about
561 brokenness of input charset detection. Adjust for change
562 in name of cppucnid.h.
563 * errors.c: Moved from gcc/cpperror.c. Do not include intl.h.
564 * expr.c: Moved from gcc/cppexp.c.
565 * files.c: Moved from gcc/cppfiles.c. Do not include intl.h.
566 Remove #define of O_BINARY, it is in system.h.
567 * identifiers.c: Moved from gcc/cpphash.c.
568 * internal.h: Moved from gcc/cpphash.h. Change header
569 guard name. All other files adjusted to match name change.
570 * init.c: Moved from gcc/cppinit.c.
571 (init_library) [ENABLE_NLS]: Call bindtextdomain.
572 * lex.c: Moved from gcc/cpplex.c.
573 * directives.c: Moved from gcc/cpplib.c.
574 * macro.c: Moved from gcc/cppmacro.c.
575 * pch.c: Moved from gcc/cpppch.c. Do not include intl.h.
576 * traditional.c: Moved from gcc/cpptrad.c.
577 * ucnid.h: Moved from gcc/cppucnid.h. Change header
578 guard name.
579 * ucnid.pl: Moved from gcc/cppucnid.pl.
580 * ucnid.tab: Moved from gcc/cppucnid.tab. Change header
581 guard name.
582 * symtab.c: Moved from gcc/hashtable.c.
583 * line-map.c: Moved from gcc. Do not include intl.h.
584 * mkdeps.c: Moved from gcc.
585 * system.h: New file.
2cf22451
ZW
586 * include/cpplib.h: Moved from gcc. Change header guard name.
587 * include/line-map.h: Moved from gcc. Change header guard name.
588 * include/mkdeps.h: Moved from gcc. Change header guard name.
589 * include/symtab.h: Moved from gcc/hashtable.h. Change header
590 guard name.