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