1171831Skan2007-07-19  Release Manager
2171831Skan
3171831Skan	* GCC 4.2.1 released.
4171831Skan
5169695Skan2007-05-13  Release Manager
6169695Skan
7169695Skan	* GCC 4.2.0 released.
8169695Skan
9169695Skan2007-04-23  Tom Tromey  <tromey@redhat.com>
10169695Skan
11169695Skan	PR preprocessor/30468:
12169695Skan	* mkdeps.c (apply_vpath): Strip successive '/'s if we stripped
13169695Skan	'./'.
14169695Skan
15169695Skan2006-12-29  Jakub Jelinek  <jakub@redhat.com>
16169695Skan
17169695Skan	PR preprocessor/29612
18169695Skan	* directives.c (do_linemarker): Set pfile->buffer->sysp always, not
19169695Skan	only when new_sysp is non-zero.
20169695Skan
21169695Skan2006-10-12  Jakub Jelinek  <jakub@redhat.com>
22169695Skan
23169695Skan	PR preprocessor/28709
24169695Skan	* macro.c (paste_tokens): Do error reporting here, use BUF with the
25169695Skan	spelled LHS token as opposed to spelling it again.
26169695Skan	(paste_all_tokens): Don't report errors here, just break on failure.
27169695Skan
28169695Skan2006-10-10  Brooks Moses  <bmoses@stanford.edu>
29169695Skan
30169695Skan	* Makefile.in: Added empty "pdf" target.
31169695Skan
32169695Skan2006-09-22  Geoffrey Keating  <geoffk@apple.com>
33169695Skan
34169695Skan	* configure.ac: Make need_64_bit_hwint case for x86-darwin
35169695Skan	match exactly the glob in gcc/config.gcc.
36169695Skan	* configure: Regenerate.
37169695Skan
38169695Skan2006-09-13  Joseph S. Myers  <joseph@codesourcery.com>
39169695Skan
40169695Skan	PR c/28768
41169695Skan	PR preprocessor/14634
42169695Skan	* lex.c (lex_string): Pedwarn for unterminated literals.
43169695Skan
44169695Skan2006-09-08  Eric Christopher  <echristo@apple.com>
45169695Skan
46169695Skan	* configure.ac: Add 64-bit HWI support for i?86-darwin.
47169695Skan
48169695Skan2006-08-14  Steve Ellcey  <sje@cup.hp.com>
49169695Skan
50169695Skan	PR c++/28288
51169695Skan	PR c++/14556
52169695Skan	* include/cpplib.h: Remove <?, >?, <?=, and >?= tokens.
53169695Skan	(CPP_LAST_EQ): Change.
54169695Skan	(CPP_LAST_PUNCTUATOR): Change.
55169695Skan	* expr.c (cpp_operator): Remove MIN and MAX.
56169695Skan	(reduce): Remove CPP_MIN and CPP_MAX.
57169695Skan	(num_binary_op): Ditto.
58169695Skan	* lex.c (_cpp_lex_direct): Ditto.
59169695Skan	(cpp_avoid_paste): Remove ? as legal symbol after > or <.
60169695Skan
61169695Skan2006-06-09  Jakub Jelinek  <jakub@redhat.com>
62169695Skan
63169695Skan	PR preprocessor/27746
64169695Skan	* directives.c (do_pragma): Handle pragma with valid namespace
65169695Skan	and invalid name coming from macro expansion.
66169695Skan	* directives.c (destringize_and_run): Initialize next field in
67169695Skan	context.
68169695Skan
69169695Skan	PR c/27747
70169695Skan	PR c++/27748
71169695Skan	* directives.c (destringize_and_run): Set NO_EXPAND on the
72169695Skan	tokens.
73169695Skan
74169695Skan	* macro.c (_cpp_backup_tokens): Fix comment typo.
75169695Skan
76169695Skan2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
77169695Skan
78169695Skan	* Makefile.in (CATALOGS): Add po/ prefix.
79169695Skan	* configure: Regenerated.
80169695Skan
81169695Skan2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
82169695Skan
83169695Skan	* Makefile.in: Add install-html target. Add install-html to .PHONY
84169695Skan
85169695Skan2006-02-17  Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com>
86169695Skan
87169695Skan	* macro.c (_cpp_builtin_macro_text): Handle BT_TIMESTAMP.
88169695Skan	* files.c (_cpp_get_file_stat): New function.
89169695Skan	* include/cpplib.h (builtin_type): Add BT_TIMESTAMP.
90169695Skan	* init.c (builtin_array): Add support for __TIMESTAMP__/BT_TIMESTAMP.
91169695Skan	* internal.h (_cpp_get_file_stat): Prototype.
92169695Skan	(struct cpp_buffer): Add timestamp.
93169695Skan
94169695Skan2006-01-23  Jakub Jelinek  <jakub@redhat.com>
95169695Skan
96169695Skan	PR preprocessor/25717
97169695Skan	* init.c (cpp_init_builtins): If __STDC__ will not change value
98169695Skan	between system headers and other sources, define it as a normal
99169695Skan	macro rather than a builtin.
100169695Skan	* macro.c (_cpp_builtin_macro_text) <case BT_STDC>: Only check
101169695Skan	cpp_in_system_header condition.
102169695Skan
103169695Skan2006-01-05  Paolo Bonzini  <bonzini@gnu.org>
104169695Skan
105169695Skan	* Makefile.in: Use -MMD instead of -MD.
106169695Skan
107169695Skan2006-01-04  Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
108169695Skan	    Richard Henderson  <rth@redhat.com>
109169695Skan
110169695Skan	Merge from gomp branch:
111169695Skan	* directives.c (struct pragma_entry): Add is_deferred.  Add ident
112169695Skan	entry to value union.
113169695Skan	(end_directive): Don't eat the line if in_deferred_pragma.
114169695Skan	(run_directive): Remove pragma hacks.
115169695Skan	(insert_pragma_entry): Remove.
116169695Skan	(new_pragma_entry): New.
117169695Skan	(register_pragma_1): Split out of register_pragma.  Only handle
118169695Skan	the lookup tree and return the new entry.
119169695Skan	(cpp_register_pragma): Fill in the pragma entry here.
120169695Skan	(cpp_register_deferred_pragma): New.
121169695Skan	(register_pragma_internal): New.
122169695Skan	(_cpp_init_internal_pragmas): Use register_pragma_internal.
123169695Skan	(do_pragma): Allow pragma expansion after namespace.  For deferred
124169695Skan	pragmas, don't slurp the line into a string.
125169695Skan	(destringize_and_run): Save tokens for deferred pragmas.
126169695Skan	(cpp_handle_deferred_pragma): Remove.
127169695Skan	* macro.c (builtin_macro): Remove pragma token hack.
128169695Skan	(_cpp_push_token_context): Rename from push_token_context and export.
129169695Skan	* internal.h (struct lexer_state): Add pragma_allow_expansion.
130169695Skan	(_cpp_push_token_context): Declare.
131169695Skan	* lex.c (_cpp_lex_token): Allow _cpp_handle_directive to return
132169695Skan	a token.  Update the line number correctly if so.
133169695Skan	(_cpp_lex_direct): Emit CPP_PRAGMA_EOL tokens.
134169695Skan	(cpp_token_val_index): Return CPP_TOKEN_FLD_PRAGMA for pragmas.
135169695Skan	* include/cpplib.h (PRAGMA_EOL): New.
136169695Skan	(CPP_TOKEN_FLD_PRAGMA): New.
137169695Skan	(struct cpp_token): Add val.pragma.
138169695Skan	(struct cpp_options): Remove defer_pragmas.
139169695Skan	(cpp_handle_deferred_pragma): Remove.
140169695Skan	(cpp_register_deferred_pragma): Declare.
141169695Skan
142169695Skan2006-01-01  Jakub Jelinek  <jakub@redhat.com>
143169695Skan
144169695Skan	PR c++/25294
145169695Skan	* directives.c (do_pragma): If pragma line ends with multi-line
146169695Skan	block comment, end the saved deferred pragma string before that
147169695Skan	comment.  Handle embedded '\0' chars on the pragma line.
148169695Skan
149169695Skan2005-12-22  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
150169695Skan
151169695Skan	PR c++/23333
152169695Skan	* include/cpplib.h: Add PURE_ZERO to flags for the cpp_token structure.
153169695Skan
154169695Skan2005-12-07  Jon Grimm  <jgrimm2@us.ibm.com>
155169695Skan	    Ben Elliston  <bje@au.ibm.com>
156169695Skan
157169695Skan	* include/cpplib.h (CPP_N_DFLOAT): New.
158169695Skan	* expr.c (interpret_float_suffix): Identify df, dd, and dl
159169695Skan	suffixes as decimal floating point constants.
160169695Skan	(cpp_classify_number): Disallow hexadecimal DFP constants.
161169695Skan
162169695Skan2005-11-14  Gerald Pfeifer  <gerald@pfeifer.com>
163169695Skan	    Ian Lance Taylor  <ian@airs.com>
164169695Skan
165169695Skan	* include/cpplib.h (struct cpp_callbacks): Annotate error with
166169695Skan	ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0).
167169695Skan
168169695Skan2005-11-09  Per Bothner  <per@bothner.com>
169169695Skan	    Uros Bizjak  <uros@kss-loka.si>
170169695Skan
171169695Skan	PR c/24101
172169695Skan	* init.c (read_original_filename): Temporarily set
173169695Skan	state.in_directive before calling _cpp_lex_direct for
174169695Skan	CPP_HASH tokens.
175169695Skan
176169695Skan2005-11-03  James E Wilson  <wilson@specifix.com>
177169695Skan
178169695Skan	PR preprocessor/24202
179169695Skan	* files.c (_cpp_pop_file_buffer): Set buffer_valid to false.
180169695Skan
181169695Skan2005-11-04  Joseph S. Myers  <joseph@codesourcery.com>
182169695Skan
183169695Skan	* include/cpplib.h (struct cpp_callbacks): Make error take
184169695Skan	va_list* parameter.
185169695Skan	* errors.c (cpp_error): Update call to callback.
186169695Skan
187169695Skan2005-11-03  Andrew Pinski  <pinskia@physics.uc.edu>
188169695Skan
189169695Skan	PR preprocessor/22042
190169695Skan	* macro.c (_cpp_builtin_macro_text): Lower the needed max
191169695Skan	buffer size.
192169695Skan	(cpp_quote_string): Don't octalify non printable
193169695Skan	charactors.
194169695Skan
195169695Skan2005-11-03  Joseph S. Myers  <joseph@codesourcery.com>
196169695Skan
197169695Skan	PR c++/17964
198169695Skan	* include/cpplib.h (struct cpp_options): Add client_diagnostic.
199169695Skan	(struct cpp_callbacks): Add error.
200169695Skan	* errors.c (cpp_error): If client_diagnostic, use error callback.
201169695Skan	* charset.c (convert_escape): Don't use %03o in diagnostic.
202169695Skan
203169695Skan2005-10-21  James E Wilson  <wilson@specifix.com>
204169695Skan
205169695Skan	PR preprocessor/15220
206169695Skan	* files.c (_cpp_find_file): New parameter angle_brackets.  Fix all
207169695Skan	callers.  Pass to open_file_failed.
208169695Skan	(open_file_failed): New parameter angle_brackets.  Fix all callers.
209169695Skan	Use in print_dep assignment.
210169695Skan	* init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file.
211169695Skan	* internal.h (_cpp_find_file): Add new parm to declaration.
212169695Skan
213169695Skan2005-10-08  Kazu Hirata  <kazu@codesourcery.com>
214169695Skan
215169695Skan	* configure.ac: Require 64-bit int for arm*-*-*eabi*.
216169695Skan	* configure: Regenerate.
217169695Skan
218169695Skan2005-10-04  Ian Lance Taylor  <ian@airs.com>
219169695Skan
220169695Skan	PR preprocessor/13726
221169695Skan	* directives.c (check_eol_return_comments): New static function.
222169695Skan	(parse_include): Add buf parameter.  Change all callers.
223169695Skan	(do_include_common): If not discard comments, turn on
224169695Skan	save_comments.  Pass collected comments to include callback.
225169695Skan	* include/cpplib.h (struct cpp_callbacks): Add new parameter to
226169695Skan	include callback: cpp_token list.
227169695Skan
228169695Skan2005-09-20  Joseph S. Myers  <joseph@codesourcery.com>
229169695Skan
230169695Skan	* include/cpplib.h (struct cpp_options): Add extended_identifiers.
231169695Skan	* init.c (struct lang_flags, lang_defaults): Add
232169695Skan	extended_identifiers.
233169695Skan	(cpp_set_lang): Use it.
234169695Skan	* lex.c (forms_identifier_p): Check extended_identifiers.
235169695Skan
236169695Skan2005-08-30  Jakub Jelinek  <jakub@redhat.com>
237169695Skan
238169695Skan	PR preprocessor/20348
239169695Skan	PR preprocessor/20356
240169695Skan	* files.c (_cpp_find_file, search_cache): Revert 2004-06-26 and
241169695Skan	2004-06-05 changes.
242169695Skan
243169695Skan2005-07-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
244169695Skan
245169695Skan	* configure.ac (ACX_PROG_CC_WARNING_OPTS): add
246169695Skan	-Wmissing-format-attribute.
247169695Skan
248169695Skan	* configure: Regenerate.
249169695Skan
250169695Skan2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
251169695Skan
252169695Skan	* all files: Update FSF address in copyright headers.
253169695Skan	* makeucnid.c (write_copyright): Update outputted FSF address.
254169695Skan
255169695Skan2005-06-13  Zack Weinberg  <zack@codesourcery.com>
256169695Skan
257169695Skan	* configure.ac: Invoke ZW_CREATE_DEPDIR and
258169695Skan	ZW_PROG_COMPILER_DEPENDENCIES.
259169695Skan	* aclocal.m4, configure: Regenerate.
260169695Skan	* Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.base, COMPILE):
261169695Skan	New variables.
262169695Skan	(distclean): Clean up $(DEPDIR) and its contents.
263169695Skan	(.c.o): Use $(COMPILE).
264169695Skan	Include $(DEPDIR)/*.Po for most object->header dependencies.
265169695Skan
266169695Skan2005-05-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
267169695Skan
268169695Skan	* configure.ac: Check declarations for asprintf and vasprintf.
269169695Skan	* config.in: Regenerate.
270169695Skan	* configure: Likewise.
271169695Skan
272169695Skan	* charset.c (conversion_loop): Use XRESIZEVEC.
273169695Skan	(convert_no_conversion): Likewise.
274169695Skan	(convert_using_iconv): Likewise.
275169695Skan	(init_iconv_desc): Cast return value of alloca.
276169695Skan	(cpp_host_to_exec_charset): Use XNEWVEC.
277169695Skan	(emit_numeric_escape): Use XRESIZEVEC.
278169695Skan	(cpp_interpret_string): Use XNEWVEC.
279169695Skan	(cpp_interpret_string): Use XRESIZEVEC.
280169695Skan	(_cpp_interpret_identifier): Cast return value of alloca.
281169695Skan	(_cpp_convert_input): Use XNEWVEC and XRESIZEVEC.
282169695Skan	* directives.c (glue_header_name): Use XNEWVEC and XRESIZEVEC.
283169695Skan	(parse_include): Use XNEWVEC.
284169695Skan	(insert_pragma_entry): Rename local variable "new" to
285169695Skan	"new_entry".
286169695Skan	(save_registered_pragmas): Cast return value of xmemdup.
287169695Skan	(destringize_and_run): Same for alloca.
288169695Skan	(parse_assertion): Likewise.
289169695Skan	(do_assert): Cast allocated storage to proper type.
290169695Skan	(cpp_define): Likewise.
291169695Skan	(_cpp_define_builtin): Likewise.
292169695Skan	(cpp_undef): Likewise.
293169695Skan	(handle_assertion): Likewise.
294169695Skan	(cpp_push_buffer): Rename local variable "new" to "new_buffer".
295169695Skan	* expr.c (CPP_UPLUS): Cast value to type cpp_ttype.
296169695Skan	(CPP_UMINUS): Likewise.
297169695Skan	(struct cpp_operator): Rename from struct operator.
298169695Skan	(_cpp_expand_op_stack): Use XRESIZEVEC.
299169695Skan	* files.c (pch_open_file): Use XNEWVEC.
300169695Skan	(pch_open_file): Use XRESIZEVEC.
301169695Skan	(read_file_guts): Use XNEWVEC and XRESIZEVEC.
302169695Skan	(dir_name_of_file): Use XNEWVEC.
303169695Skan	(make_cpp_file): Use XCNEW.
304169695Skan	(make_cpp_dir): Likewise.
305169695Skan	(allocate_file_hash_entries): USE XNEWVEC.
306169695Skan	(cpp_included): Cast return value of htab_find_with_hash.
307169695Skan	(append_file_to_dir): Use XNEWVEC.
308169695Skan	(read_filename_string): Likewise. Use XRESIZEVEC too.
309169695Skan	(read_name_map): Cast return value of alloca.  Use XRESIZEVEC.
310169695Skan	(remap_filename): Use XNEWVEC.
311169695Skan	(struct pchf_entry): Move definition out of struct pchf_data.
312169695Skan	(_cpp_save_file_entries): Use XCNEWVAR.
313169695Skan	(_cpp_read_file_entries): Use XNEWVAR.
314169695Skan	* identifiers.c (alloc_node): Use XOBNEW.
315169695Skan	* init.c (cpp_create_reader): Use XCNEW.
316169695Skan	(cpp_init_builtins): Cast of b->value to enum builtin_type.
317169695Skan	(read_original_directory): Cast return value of alloca.
318169695Skan	* lex.c (add_line_note): Use XRESIZEVEC.
319169695Skan	(warn_about_normalization): Use XNEWVEC.
320169695Skan	(_cpp_lex_direct): Cast node->directive_index to (enum cpp_ttype).
321169695Skan	(new_buff): Use XNEWVEC.
322169695Skan	* line-map.c (linemap_add): Use XRESIZEVEC.
323169695Skan	* macro.c (builtin_macro): Cast return value of alloca.
324169695Skan	(paste_tokens): Likewise.
325169695Skan	(expand_arg): Use XNEWVEC and XRESIZEVEC.
326169695Skan	(_cpp_save_parameter): Use XRESIZEVEC.
327169695Skan	(create_iso_definition): Cast allocated storage to proper type.
328169695Skan	(_cpp_create_definition): Likewise.
329169695Skan	(cpp_macro_definition): Use XRESIZEVEC.
330169695Skan	* makedepend.c (add_clm): Use XNEW.
331169695Skan	(add_dir): Likewise.
332169695Skan	* mkdeps.c (munge): Use XNEWVEC.
333169695Skan	(deps_init): Use XCNEW.
334169695Skan	(deps_add_target): Use XRESIZEVEC.
335169695Skan	(deps_add_default_target): Cast return value of alloca.
336169695Skan	(deps_add_dep): Use XRESIZEVEC.
337169695Skan	(deps_add_vpath): Likewise.  Use XNEWVEC too.
338169695Skan	(deps_restore): Likewise.
339169695Skan	* pch.c (save_idents): Use XNEW and XNEWVEC.
340169695Skan	(cpp_save_state): Use XNEW.
341169695Skan	(count_defs): Cast return value of htab_find.
342169695Skan	(write_defs): Likewise.
343169695Skan	(cpp_write_pch_deps): Use XNEWVEC.
344169695Skan	(collect_ht_nodes): Use XRESIZEVEC.
345169695Skan	(cpp_valid_state): Use XNEWVEC.
346169695Skan	(save_macros): Use XRESIZEVEC.  Cast return value of xmemdup.
347169695Skan	* symtab.c (ht_create): Use XCNEW.
348169695Skan	(ht_lookup_with_hash): Cast return value of obstack_copy0.
349169695Skan	(ht_expand): Use XCNEWVEC.
350169695Skan	* system.h (HAVE_DESIGNATED_INITIALIZERS): False if __cplusplus.
351169695Skan	(bool): Do not define if __cplusplus.
352169695Skan
353169695Skan2005-05-12  Zack Weinberg  <zack@codesourcery.com>
354169695Skan
355169695Skan	* directives.c (#sccs table entry): Mark IN_I, consistent with #ident.
356169695Skan	(do_sccs): Delete function definition, #define to do_ident.
357169695Skan	(do_ident): Don't hardwire directive name.
358169695Skan
359169695Skan2005-05-12  Ryota Kunisawa  <kunisawa@access.co.jp>
360169695Skan
361169695Skan	PR bootstrap/21230
362169695Skan	* configure: Regenerate.
363169695Skan
364169695Skan2005-04-27  Andris Pavenis  <pavenis@latnet.lv>
365169695Skan
366169695Skan	* files.c: Include io.h for DJGPP to get prototype of setmode.
367169695Skan
368169695Skan2005-04-19  Per Bothner  <per@bothner.com>
369169695Skan
370169695Skan	PR preprocessor/20907
371169695Skan	* line-map.c (linemap_line_start): Fix bug when we need to increse
372169695Skan	column_bits but can re-use the current line_map.
373169695Skan
374169695Skan2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
375169695Skan
376169695Skan	* system.h (fopen, fdopen, freopen): Define these to the unlocked
377169695Skan	libiberty functions.
378169695Skan
379169695Skan2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
380169695Skan
381169695Skan	* configure.ac (libcpp_UNLOCKED_FUNCS): New.
382169695Skan	(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
383169695Skan	* system.h (putchar, getc, getchar, clearerr, feof, fileno,
384169695Skan	fflush, fgetc, fgets, ferror, fread): Redefine to the associated
385169695Skan	_unlocked function.
386169695Skan	(fwrite_unlocked): Fix prototype.
387169695Skan
388169695Skan	* configure, config.in: Regenerate.
389169695Skan
390169695Skan2005-04-05  Jakub Jelinek  <jakub@redhat.com>
391169695Skan
392169695Skan	PR preprocessor/19475
393169695Skan	* macro.c (create_iso_definition): For < ISO C99, don't
394169695Skan	pedwarn if there is no whitespace between macro name and its
395169695Skan	replacement, but the replacement starts with a basic character
396169695Skan	set character.
397169695Skan
398169695Skan2005-03-28  Andreas Jaeger  <aj@suse.de>
399169695Skan
400169695Skan	* lex.c (warn_about_normalization): Cast field width to int to
401169695Skan	avoid warning.
402169695Skan
403169695Skan2005-03-19  Joseph S. Myers  <joseph@codesourcery.com>
404169695Skan
405169695Skan	* configure.ac: Consistently use solaris2.1[0-9]* instead of
406169695Skan	solaris2.1[0-9].
407169695Skan	* configure: Regenerate.
408169695Skan
409169695Skan2005-03-15  Geoffrey Keating  <geoffk@apple.com>
410169695Skan
411169695Skan	* charset.c (_cpp_valid_ucn): In identifiers, reject a partial
412169695Skan	UCN rather than printing an error.
413169695Skan
414169695Skan2005-03-14  Geoffrey Keating  <geoffk@apple.com>
415169695Skan
416169695Skan	* lex.c (forms_identifier_p): Disable UCNs in C89 mode.
417169695Skan
418169695Skan2005-03-14  Geoffrey Keating  <geoffk@apple.com>
419169695Skan
420169695Skan	* init.c (cpp_create_reader): Default warn_normalize to normalized_C.
421169695Skan	* charset.c: Update for new format of ucnid.h.
422169695Skan	(ucn_valid_in_identifier): Update for new format of ucnid.h.
423169695Skan	Add NST parameter, and update it; update callers.
424169695Skan	(cpp_valid_ucn): Add NST parameter, update callers.  Replace abort
425169695Skan	with cpp_error.
426169695Skan	(convert_ucn): Pass normalize_state to cpp_valid_ucn.
427169695Skan	* internal.h (struct normalize_state): New.
428169695Skan	(INITIAL_NORMALIZE_STATE): New.
429169695Skan	(NORMALIZE_STATE_RESULT): New.
430169695Skan	(NORMALIZE_STATE_UPDATE_IDNUM): New.
431169695Skan	(_cpp_valid_ucn): New.
432169695Skan	* lex.c (warn_about_normalization): New.
433169695Skan	(forms_identifier_p): Add normalize_state parameter, update callers.
434169695Skan	(lex_identifier): Add normalize_state parameter, update callers.  Keep
435169695Skan	the state current.
436169695Skan	(lex_number): Likewise.
437169695Skan	(_cpp_lex_direct): Pass normalize_state to subroutines.  Check
438169695Skan	it with warn_about_normalization.
439169695Skan	* makeucnid.c: New.
440169695Skan	* ucnid.h: Replace.
441169695Skan	* ucnid.pl: Remove.
442169695Skan	* ucnid.tab: Make appropriate for input to makeucnid.c.  Remove
443169695Skan	comments about obsolete version of C++.
444169695Skan	* include/cpplib.h (enum cpp_normalize_level): New.
445169695Skan	(struct cpp_options): Add warn_normalize field.
446169695Skan
447169695Skan2005-03-11  Geoffrey Keating  <geoffk@apple.com>
448169695Skan
449169695Skan	* directives.c (glue_header_name): Update call to cpp_spell_token.
450169695Skan	* internal.h (_cpp_interpret_identifier): New.
451169695Skan	* charset.c (_cpp_interpret_identifier): New.
452169695Skan	(_cpp_valid_ucn): Allow UCN version of '$'.
453169695Skan	* lex.c (lex_identifier): Add extra parameter to indicate if initial
454169695Skan	character was '$' or '\'.  Support identifiers with UCNs.
455169695Skan	(forms_identifier_p): Allow UCNs.
456169695Skan	(_cpp_lex_direct): Pass extra parameter to lex_identifier.
457169695Skan	(utf8_to_ucn): New.
458169695Skan	(cpp_spell_token): Add FORSTRING parameter.  Use it.
459169695Skan	(cpp_token_as_text): Update call to cpp_spell_token.
460169695Skan	(cpp_output_token): Write UCNs back out.
461169695Skan	(stringify_arg): Update call to cpp_spell_token.
462169695Skan	(paste_tokens): Likewise.
463169695Skan	(cpp_macro_definition): Likewise.
464169695Skan	* macro.c (stringify_arg): Likewise.
465169695Skan	(paste_tokens): Likewise.
466169695Skan	(cpp_macro_definition): Likewise.
467169695Skan	* include/cpplib.h: Add parameter to cpp_spell_token.
468169695Skan
469169695Skan2005-03-04  Jakub Jelinek  <jakub@redhat.com>
470169695Skan
471169695Skan	PR bootstrap/20282
472169695Skan	PR bootstrap/20305
473169695Skan	* macro.c (replace_args, cpp_get_token): Copy whole
474169695Skan	cpp_token_u instead of just cpp_string field from it.
475169695Skan
476169695Skan2005-02-28  Devang Patel  <dpatel@apple.com>
477169695Skan
478169695Skan	* directives.c (do_line): Save sysp early before line table is
479169695Skan	realloc'ed.
480169695Skan
481169695Skan2005-02-20  Zack Weinberg  <zack@codesourcery.com>
482169695Skan
483169695Skan	PR 18785
484169695Skan	* charset.c (LAST_POSSIBLY_BASIC_SOURCE_CHAR): New helper macro.
485169695Skan	(cpp_host_to_exec_charset): New function.
486169695Skan	* include/cpplib.h: Declare cpp_host_to_exec_charset.
487169695Skan
488169695Skan2005-02-19  Devang Patel  <dpatel@apple.com>
489169695Skan
490169695Skan	* charset.c (_cpp_convert_input): Check '\r' before inserting
491169695Skan	'\n' at the end.
492169695Skan
493169695Skan2005-02-15  Eric Christopher  <echristo@redhat.com>
494169695Skan
495169695Skan	PR preprocessor/19077
496169695Skan	* macro.c (cpp_macro_definition): Move handling of whitespace
497169695Skan	to PREV_WHITE conditional. Remove overloading of len
498169695Skan	variable.
499169695Skan
500169695Skan2005-02-14  Kazu Hirata  <kazu@cs.umass.edu>
501169695Skan
502169695Skan	* directives.c, files.c, init.c, internal.h, macro.c, pch.c,
503169695Skan	traditional.c: Update copyright.
504169695Skan
505169695Skan2005-02-14  Paolo Bonzini  <bonzini@gnu.org>
506169695Skan
507169695Skan	PR bootstrap/19818
508169695Skan	* configure.ac: Check for declaration of basename and getopt.
509169695Skan	* config.in: Regenerate.
510169695Skan	* configure: Regenerate.
511169695Skan	* internal.h (ustrcspn): New.
512169695Skan	* macro.c (create_iso_definition): Fix allocation of memory.
513169695Skan	(padding_token): Add cast to remove const-ness.
514169695Skan	* pch.c (cpp_read_state): Use ustrcspn.
515169695Skan
516169695Skan2005-02-08  Mike Stump  <mrs@apple.com>
517169695Skan
518169695Skan	* files.c (pchf_adder): Remove.
519169695Skan	(struct pchf_adder_info): Likewise.
520169695Skan	(_cpp_save_file_entries): Write out all files so that #import works.
521169695Skan
522169695Skan2005-01-23  Joseph S. Myers  <joseph@codesourcery.com>
523169695Skan
524169695Skan	* configure: Regenerate.
525169695Skan
526169695Skan2005-01-11  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
527169695Skan
528169695Skan	* include/cpplib.h (c_lang): Fix comment to say cpp_create_reader.
529169695Skan
530169695Skan	* include/cpplib.h: Also update copyright years.
531169695Skan
532169695Skan2005-01-03  Geoffrey Keating  <geoffk@apple.com>
533169695Skan
534169695Skan	* files.c (_cpp_find_file): Add files found by search_path_exhausted
535169695Skan	to the list of all files.
536169695Skan
537169695Skan2005-01-01  Gabriel Dos Reis  <gdr@integrable-solutions.net>
538169695Skan
539169695Skan	* internal.h: Update references to Cpp lib filenames.
540169695Skan	* directives.c: Likewise.
541169695Skan	* init.c: Likewise.
542169695Skan	* macro.c: Likewise.
543169695Skan	* traditional.c: Likewise.
544169695Skan
545169695Skan2004-12-15  Eric Botcazou  <ebotcazou@libertysurf.fr>
546169695Skan
547169695Skan	PR preprocessor/15167
548169695Skan	* files.c (destroy_cpp_file): New function.
549169695Skan	(should_stack_file): Make a new file if the
550169695Skan	compared file is still stacked.
551169695Skan
552169695Skan2004-11-28  Nathanael Nerode  <neroden@gcc.gnu.org>
553169695Skan
554169695Skan	PR preprocessor/17610
555169695Skan	* directives.c (do_include_common): Error out if an empty filename
556169695Skan	is given for #include (or #include_next or #import).
557169695Skan
558169695Skan2004-11-27  Roger Sayle  <roger@eyesopen.com>
559169695Skan	    Zack Weinberg  <zack@codesourcery.com>
560169695Skan
561169695Skan	* internal.h: Replace all uses of uchar with unsigned char.
562169695Skan	* include/cpp-id-data.h: Likewise.  Guard typedef of uchar
563169695Skan	with !IN_GCC, so uchar is only defined whilst building libcpp.
564169695Skan
565169695Skan2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
566169695Skan
567169695Skan	* aclocal.m4: Regenerate.
568169695Skan
569169695Skan2004-11-24  Roger Sayle  <roger@eyesopen.com>
570169695Skan
571169695Skan	PR preprocessor/15824
572169695Skan	* configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
573169695Skan	directly, instead of the non-existant "system.h" and "ansidecl.h".
574169695Skan	* configure: Regenerate.
575169695Skan
576169695Skan2004-11-23  Daniel Jacobowitz  <dan@codesourcery.com>
577169695Skan	    Joseph Myers  <joseph@codesourcery.com>
578169695Skan
579169695Skan	* internal.h (struct lexer_state): Add in_deferred_pragma.
580169695Skan	* directives.c (struct pragma_entry): Add allow_expansion.
581169695Skan	(insert_pragma_entry): Take allow_expansion flag.
582169695Skan	(register_pragma): Likewise.
583169695Skan	(cpp_register_pragma): Likewise.
584169695Skan	(_cpp_init_internal_pragmas): Update calls to cpp_register_pragma.
585169695Skan	(do_pragma): Honor allow_expansion.
586169695Skan	(cpp_handle_deferred_pragma): Set in_deferred_pragma.
587169695Skan	* include/cpplib.h (cpp_register_pragma): Update prototype.
588169695Skan
589169695Skan2004-11-18  Daniel Jacobowitz  <dan@codesourcery.com>
590169695Skan	    Mark Mitchell  <mark@codesourcery.com>
591169695Skan
592169695Skan	* configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set
593169695Skan	need_64bit_hwint=yes.
594169695Skan	* configure: Regenerate.
595169695Skan
596169695Skan2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
597169695Skan
598169695Skan	* Makefile.in ($(PACKAGE).pot): New rule.  Depend on
599169695Skan	po/$(PACKAGE).pot.
600169695Skan	(po/$(PACKAGE).pot): Use ":" instead of "," in --keyword
601169695Skan	arguments.  Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2.
602169695Skan	Remove local srcdir path from generated file.
603169695Skan
604169695Skan2004-11-04  Zack Weinberg  <zack@codesourcery.com>
605169695Skan	    Gerald Pfeifer  <gerald@pfeifer.com>
606169695Skan
607169695Skan	* internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
608169695Skan	as well.
609169695Skan
610169695Skan2004-10-27  Zack Weinberg  <zack@codesourcery.com>
611169695Skan
612169695Skan	PR 18075
613169695Skan	* directives.c (do_pragma): Do not defer pragmas which are unknown.
614169695Skan	(cpp_handle_deferred_pragma): Add cast to silence warning.
615169695Skan
616169695Skan2004-10-14  Joseph S. Myers  <jsm@polyomino.org.uk>
617169695Skan
618169695Skan	* errors.c (_cpp_begin_message): Print "error: " for errors.
619169695Skan
620169695Skan2004-10-10  Andreas Jaeger  <aj@suse.de>
621169695Skan
622169695Skan	* makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
623169695Skan	* Makefile.in (makedepend.o): Add dependency on mkdeps.h.
624169695Skan
625169695Skan2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
626169695Skan
627169695Skan	* pch.c (cpp_write_pch_state): Remove variable z as it is not
628169695Skan	used.
629169695Skan	(cpp_read_state): Remove unused variables, m, d and mac_count.
630169695Skan
631169695Skan2004-09-29  Per Bothner  <per@bothner.com>
632169695Skan
633169695Skan	* directives.c (cpp_handle_deferred_pragma):  Save, clear and restore
634169695Skan	cb.line_change.  Otherwise do_pragma will call the line_change
635169695Skan	call-back with a meaningless line number.
636169695Skan
637169695Skan2004-09-24  Zack Weinberg  <zack@codesourcery.com>
638169695Skan
639169695Skan	* configure.ac: Move AC_PROG_MAKE_SET, AC_PROG_INSTALL to
640169695Skan	programs cluster. Use ACX_PROG_CC_WARNING_OPTS,
641169695Skan	ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_PROG_CC_WARNINGS_ARE_ERRORS.
642169695Skan	* aclocal.m4, configure: Regenerate.
643169695Skan	* init.c: Include localedir.h.
644169695Skan	* Makefile.in (WARN_CFLAGS, ALL_CFLAGS): New variables.
645169695Skan	(DEFS): Delete.
646169695Skan	(.c.o): Use $(ALL_CFLAGS).
647169695Skan	(localedir.h, localedir.hs): New rules.
648169695Skan	(clean): Use rm -rf to remove directories.
649169695Skan	(distclean): Also delete localedir.h and localedir.hs.
650169695Skan	(init.o): Update dependencies.
651169695Skan
652169695Skan2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
653169695Skan
654169695Skan	* Makefile.in (aclocal.m4): Update dependencies.
655169695Skan	* configure.ac (AC_CONFIG_MACRO_DIR): New.
656169695Skan	* aclocal.m4, configure: Regenerate.
657169695Skan
658169695Skan2004-09-17  Zack Weinberg  <zack@codesourcery.com>
659169695Skan
660169695Skan	* charset.c (_cpp_destroy_iconv, emit_numeric_escape)
661169695Skan	(_cpp_convert_input, _cpp_default_encoding): Add comments.
662169695Skan	Some other comments in this file also tweaked.
663169695Skan
664169695Skan	* directives.c (do_pragma): Save current buffer position
665169695Skan	before lexing the pragma keywords; don't call
666169695Skan	_cpp_backup_tokens in the defer_pragmas case.
667169695Skan
668169695Skan2004-09-15  Per Bothner  <per@bothner.com>
669169695Skan
670169695Skan	* include/line-map.h (line_map_start):  Add parameter names so
671169695Skan	preceding comment makes sense.
672169695Skan	(linemap_add):  Remove from comment mention of non-existing parameter.
673169695Skan
674169695Skan2004-09-09  Matt Austern  <austern@apple.com>
675169695Skan	    Zack Weinberg  <zack@codesourcery.com>
676169695Skan
677169695Skan	* include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_
678169695Skan	prefixes throughout.  Add entry for PRAGMA.  Remove
679169695Skan	unnecessary "= 0" from EQ.
680169695Skan	(enum cpp_ttype): Adjust OP and TK definitions to restore
681169695Skan	prefixes, via token-paste.
682169695Skan	(CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP):
683169695Skan	Change from #defines to additional cpp_ttype enumerators.
684169695Skan	(struct cpp_options): Add defer_pragmas.
685169695Skan	(cpp_handle_deferred_pragma): Prototype new interface.
686169695Skan
687169695Skan	* internal.h (struct cpp_reader): Add directive_result.
688169695Skan	* directives.c (struct pragma_entry): Add is_internal field;
689169695Skan	give boolean fields type bool.
690169695Skan	(start_directive): Initialize pfile->directive_result.type.
691169695Skan	(_cpp_do__Pragma): Likewise.
692169695Skan	(run_directive): Do not crash if pfile->buffer->prev is NULL.
693169695Skan	(insert_pragma_entry): Add 'internal' argument; set new->is_internal
694169695Skan	from it.
695169695Skan	(register_pragma): New static function, bulk of former
696169695Skan	cpp_register_pragma here; add 'internal' argument, pass along
697169695Skan	to insert_pragma_entry.
698169695Skan	(cpp_register_pragma): Now a wrapper around register_pragma which
699169695Skan	always passes false for 'internal' argument.
700169695Skan	(_cpp_init_internal_pragmas): Call register_pragma directly, passing
701169695Skan	true for 'internal'.
702169695Skan	(do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't
703169695Skan	an internal pragma, save text till the end of the line as a CPP_PRAGMA
704169695Skan	token instead of executing the pragma.
705169695Skan	(cpp_handle_deferred_pragma): New interface.
706169695Skan	* lex.c (token_spellings): Adjust OP and TK definitions to
707169695Skan	match changes to cpplib.h.
708169695Skan	(_cpp_lex_token): Check for a directive-result token and
709169695Skan	return it if present.
710169695Skan	(cpp_token_val_index): Handle CPP_PRAGMA.
711169695Skan	* macro.c (cpp_builtin_macro_text): Correct comment.
712169695Skan	(builtin_macro): Handle directive-result tokens from _cpp_do__Pragma.
713169695Skan
714169695Skan2004-09-06  Serge Belyshev  <belyshev@lubercy.com>
715169695Skan
716169695Skan	PR preprocessor/14699
717169695Skan	* symtab.c (ht_dump_statistics): Change type of sum_of_squares
718169695Skan	from size_t to double.
719169695Skan
720169695Skan2004-08-28  Andreas Schwab  <schwab@suse.de>
721169695Skan	    Andreas Jaeger <aj@suse.de>
722169695Skan
723169695Skan	* configure.ac: Set PACKAGE correctly.
724169695Skan	* configure: Regenerated.
725169695Skan
726169695Skan2004-08-25  Paolo Bonzini  <bonzini@gnu.org>
727169695Skan
728169695Skan	* Makefile.in: Add back top_builddir.
729169695Skan
730169695Skan2004-08-25  Paolo Bonzini  <bonzini@gnu.org>
731169695Skan
732169695Skan	* configure.ac: Replace Automake macro invocations
733169695Skan	with manual Autoconf checks and substitutions.
734169695Skan	* configure: Regenerate.
735169695Skan	* aclocal.m4: Regenerate.
736169695Skan	* config.in: Regenerate.
737169695Skan	* Makefile.am: Removed.
738169695Skan	* Makefile.in: Heavy simplification and reorganization.
739169695Skan
740169695Skan2004-08-09  Mark Mitchell  <mark@codesourcery.com>
741169695Skan
742169695Skan	* configure.ac (arm*-*-eabi*): New target.
743169695Skan	(arm*-*-symbianelf*): Likewise.
744169695Skan	* configure: Regenerated.
745169695Skan
746169695Skan2004-07-24  Bernardo Innocenti  <bernie@develer.com>
747169695Skan
748169695Skan	* internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove.
749169695Skan	* directives.c: Use XNEW-family macros from libiberty.
750169695Skan	* lex.c: Likewise.
751169695Skan	* macro.c: Likewise.
752169695Skan	* cpplib.h (cpp_deps_style): Export enum with name.
753169695Skan
754169695Skan2004-07-23  Matthias Klose  <doko@debian.org>
755169695Skan
756169695Skan	* init.c (init_library): Use PACKAGE for the text domain.
757169695Skan
758169695Skan2004-07-16  Andris Pavenis  <pavenis@latnet.lv>
759169695Skan
760169695Skan	PR preprocessor/16366
761169695Skan	* internal.h (struct cpp_reader): New field dir_hash.
762169695Skan	* files.c (make_cpp_dir): Use dir_hash, not file_hash.
763169695Skan	(_cpp_init_files, _cpp_cleanup_files): Update for new field.
764169695Skan
765169695Skan2004-07-04  Neil Booth  <neil@duron.akihabara.co.uk>
766169695Skan
767169695Skan	PR preprocessor/16192
768169695Skan	PR preprocessor/15913
769169695Skan	PR preprocessor/15572
770169695Skan	* expr.c (_cpp_parse_expr): Handle remaining cases where an
771169695Skan	expression is missing.
772169695Skan	* init.c (post_options): Traditional cpp doesn't do // comments.
773169695Skan
774169695Skan2004-06-30  Per Bothner  <per@bothner.com>
775169695Skan
776169695Skan	* include/line-map.h (fileline):  Remove old typedef.
777169695Skan	* internal.h (struct cpp_reader):  Use source_location typedef instead.
778169695Skan
779169695Skan2004-06-26  Zack Weinberg  <zack@codesourcery.com>
780169695Skan
781169695Skan	Partially revert patch of 2004-06-05.
782169695Skan	* files.c (search_cache): Remove pfile argument.  Don't check
783169695Skan	for file that would be found by "" or <> search here...
784169695Skan	(_cpp_find_file): ...do it here, before calling find_file_in_dir.
785169695Skan	Do not apply directory-of-current-file correction to files
786169695Skan	found by this check.  Rearrange code slightly.
787169695Skan
788169695Skan2004-06-21  Geoffrey Keating  <geoffk@apple.com>
789169695Skan
790169695Skan	* files.c (should_stack_file): Correct swapped parameters to call
791169695Skan	to cb.read_pch.
792169695Skan	* pch.c (cpp_valid_state): Handle -fpreprocessed.
793169695Skan
794169695Skan2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
795169695Skan
796169695Skan	* Makefile.in: Regenerate with automake 1.8.5.
797169695Skan	* aclocal.m4: Likewise.
798169695Skan	* configure: Regenerate.
799169695Skan
800169695Skan2004-06-11  Zack Weinberg  <zack@codesourcery.com>
801169695Skan
802169695Skan	* configure.ac: Don't invoke ACX_HEADER_STDBOOL.
803169695Skan	* configure, config.in: Regenerate.
804169695Skan	* system.h: Unconditionally define bool as unsigned char,
805169695Skan	BOOL_BITFIELD as unsigned int.
806169695Skan	* .cvsignore: New file.
807169695Skan
808169695Skan2004-06-09  Geoffrey Keating  <geoffk@apple.com>
809169695Skan
810169695Skan	* traditional.c (push_replacement_text): Set macro->traditional.
811169695Skan	(save_replacement_text): Likewise.
812169695Skan	* pch.c (cpp_write_pch_state): Don't write list of defined macros.
813169695Skan	(struct save_macro_item): Delete.
814169695Skan	(struct save_macro_data): Use a character array not the previous
815169695Skan	structured format.
816169695Skan	(save_macros): Save macro as text not as internal structures.
817169695Skan	(cpp_prepare_state): Update for changes to save_macro_data.
818169695Skan	(cpp_read_state): Don't read macros defined in PCH.  Restore
819169695Skan	-D macros as text.
820169695Skan	* macro.c (create_iso_definition): Honour alloc_subobject.
821169695Skan	Clear traditional flag.
822169695Skan	(_cpp_create_definition): Honour alloc_subobject.
823169695Skan	* lex.c (cpp_token_val_index): New.
824169695Skan	* internal.h: Include cpp-id-data.h.
825169695Skan	(uchar): Move definition to cpp-id-data.h.
826169695Skan	(U): Likewise.
827169695Skan	(cpp_macro): Likewise.
828169695Skan	* directives.c (struct answer): Move to cpp-id-data.h.
829169695Skan	(do_assert): Honour alloc_subobject.
830169695Skan
831169695Skan	* include/symtab.h (struct ht): Add field 'alloc_subobject'.
832169695Skan	* include/cpplib.h (struct cpp_string): Add GTY marker.
833169695Skan	(enum cpp_token_fld_kind): New.
834169695Skan	(struct cpp_token): Add GTY markers.
835169695Skan	(cpp_token_val_index): Prototype.
836169695Skan	(CPP_HASHNODE_VALUE_IDX): New.
837169695Skan	(struct cpp_hashnode): Don't skip fields of 'value' when marking.
838169695Skan	* include/cpp-id-data.h: New file.
839169695Skan
840169695Skan2004-06-09  Paolo Bonzini  <bonzini@gnu.org>
841169695Skan
842169695Skan	* Makefile.am (all-local): New.
843169695Skan	* Makefile.in: Regenerate.
844169695Skan
845169695Skan2004-06-06  Roger Sayle  <roger@eyesopen.com>
846169695Skan
847169695Skan	* Makefile.am (LIBICONV): Declare.
848169695Skan	(makedepend_LDADD): Use LIBICONV.
849169695Skan	* Makefile.in: Regenerate.
850169695Skan
851169695Skan2004-06-05  Andrew Pinski  <pinskia@physics.uc.edu>
852169695Skan
853169695Skan	* Makefile.am (LIBINTL): Declare
854169695Skan	(makedepend_LDADD): Use LIBINTL.
855169695Skan	* Makefile.in: Regenerate.
856169695Skan
857169695Skan2004-06-05  Zack Weinberg  <zack@codesourcery.com>
858169695Skan
859169695Skan	* Makefile.am: Add makedepend.
860169695Skan	* Makefile.in, aclocal.m4: Regenerate.
861169695Skan	* charset.c: Insert a space to avoid a warning.
862169695Skan	* directives.c: Include mkdeps.h.
863169695Skan	(_cpp_handle_directive): Reenable macro expander if appropriate.
864169695Skan	(undefine_macros): Inline body of _cpp_free_definition for speed.
865169695Skan	Do not call undef callback or _cpp_warn_if_unused_macro.
866169695Skan	(cpp_get_deps): New interface.
867169695Skan	* files.c (search_cache): Add pfile argument.  Check for file
868169695Skan	that would be found by "" or <> search here...
869169695Skan	(_cpp_find_file): ...not here.  Correct recorded start_dir of
870169695Skan	files found by directory-of-current-file search that would be
871169695Skan	found by "" or <> search.
872169695Skan	* init.c (cpp_add_dependency_target): Delete.
873169695Skan	* internal.h (struct lexer_state): Add discarding_output flag.
874169695Skan	* lex.c (lex_identifier): Compute hash function while scanning.
875169695Skan	* macro.c (cpp_scan_nooutput): Disable macro expansion outside
876169695Skan	directives.
877169695Skan	* makedepend.c: New file.
878169695Skan	* mkdeps.c (struct deps): Add vpath vector.
879169695Skan	(apply_vpath, deps_add_vpath): New function.
880169695Skan	(deps_free): Free vpath vector.
881169695Skan	(deps_add_dep, deps_add_target): Use apply_vpath.
882169695Skan	* symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
883169695Skan	(ht_lookup_with_hash): New function.
884169695Skan	* cpplib.h, mkdeps.h: Update prototypes.
885169695Skan	* symtab.h: Update prototypes.
886169695Skan	(HT_HASHSTEP, HT_FINISH): New macros.
887169695Skan
888169695Skan2004-05-29  Geoffrey Keating  <geoffk@apple.com>
889169695Skan
890169695Skan	* symtab.c (ht_create): Set entries_owned.
891169695Skan	(ht_destroy): Honour entries_owned.
892169695Skan	(ht_expand): Likewise.
893169695Skan	(ht_load): New.
894169695Skan	* include/symtab.h (struct ht): New field 'entries_owned'
895169695Skan	(ht_load): New prototype.
896169695Skan
897169695Skan2004-05-26  Paolo Bonzini  <bonzini@gnu.org>
898169695Skan
899169695Skan	PR bootstrap/15651
900169695Skan	* configure.ac: Fix m4 quoting when picking
901169695Skan	the size of HOST_WIDE_INT.
902169695Skan	* configure: Regenerate.
903169695Skan
904169695Skan2004-05-25  Paolo Bonzini  <bonzini@gnu.org>
905169695Skan
906169695Skan	* Makefile.am: the correct directory for
907169695Skan	gettext include files is given by @INCINTL@.
908169695Skan	* Makefile.in: Regenerate.
909169695Skan
910169695Skan2004-05-24  Paolo Bonzini  <bonzini@gnu.org>
911169695Skan
912169695Skan	* system.h [!ENABLE_NLS]: dgettext takes two
913169695Skan	parameters.
914169695Skan
915169695Skan2004-05-23  Paolo Bonzini  <bonzini@gnu.org>
916169695Skan
917169695Skan	Moved libcpp from the gcc subdirectory to the toplevel.
918169695Skan	* Makefile.am: New file.
919169695Skan	* Makefile.in: Regenerate.
920169695Skan	* configure.ac: New file.
921169695Skan	* configure: Regenerate.
922169695Skan	* config.in: Regenerate.
923169695Skan	* charset.c: Moved from gcc/cppcharset.c.  Add note about
924169695Skan	brokenness of input charset detection.  Adjust for change
925169695Skan	in name of cppucnid.h.
926169695Skan	* errors.c: Moved from gcc/cpperror.c.  Do not include intl.h.
927169695Skan	* expr.c: Moved from gcc/cppexp.c.
928169695Skan	* files.c: Moved from gcc/cppfiles.c.  Do not include intl.h.
929169695Skan	Remove #define of O_BINARY, it is in system.h.
930169695Skan	* identifiers.c: Moved from gcc/cpphash.c.
931169695Skan	* internal.h: Moved from gcc/cpphash.h.  Change header
932169695Skan	guard name.  All other files adjusted to match name change.
933169695Skan	* init.c: Moved from gcc/cppinit.c.
934169695Skan	(init_library) [ENABLE_NLS]: Call bindtextdomain.
935169695Skan	* lex.c: Moved from gcc/cpplex.c.
936169695Skan	* directives.c: Moved from gcc/cpplib.c.
937169695Skan	* macro.c: Moved from gcc/cppmacro.c.
938169695Skan	* pch.c: Moved from gcc/cpppch.c.  Do not include intl.h.
939169695Skan	* traditional.c: Moved from gcc/cpptrad.c.
940169695Skan	* ucnid.h: Moved from gcc/cppucnid.h.  Change header
941169695Skan	guard name.
942169695Skan	* ucnid.pl: Moved from gcc/cppucnid.pl.
943169695Skan	* ucnid.tab: Moved from gcc/cppucnid.tab.  Change header
944169695Skan	guard name.
945169695Skan	* symtab.c: Moved from gcc/hashtable.c.
946169695Skan	* line-map.c: Moved from gcc.  Do not include intl.h.
947169695Skan	* mkdeps.c: Moved from gcc.
948169695Skan	* system.h: New file.
949169695Skan	* include/cpplib.h: Moved from gcc.  Change header guard name.
950169695Skan	* include/line-map.h: Moved from gcc.  Change header guard name.
951169695Skan	* include/mkdeps.h: Moved from gcc.  Change header guard name.
952169695Skan	* include/symtab.h: Moved from gcc/hashtable.h.  Change header
953169695Skan	guard name.
954