1*c7ca977eSAlexander Kabaev2007-05-13  Release Manager
2*c7ca977eSAlexander Kabaev
3*c7ca977eSAlexander Kabaev	* GCC 4.2.0 released.
4*c7ca977eSAlexander Kabaev
5*c7ca977eSAlexander Kabaev2007-04-23  Tom Tromey  <[email protected]>
6*c7ca977eSAlexander Kabaev
7*c7ca977eSAlexander Kabaev	PR preprocessor/30468:
8*c7ca977eSAlexander Kabaev	* mkdeps.c (apply_vpath): Strip successive '/'s if we stripped
9*c7ca977eSAlexander Kabaev	'./'.
10*c7ca977eSAlexander Kabaev
11*c7ca977eSAlexander Kabaev2006-12-29  Jakub Jelinek  <[email protected]>
12*c7ca977eSAlexander Kabaev
13*c7ca977eSAlexander Kabaev	PR preprocessor/29612
14*c7ca977eSAlexander Kabaev	* directives.c (do_linemarker): Set pfile->buffer->sysp always, not
15*c7ca977eSAlexander Kabaev	only when new_sysp is non-zero.
16*c7ca977eSAlexander Kabaev
17*c7ca977eSAlexander Kabaev2006-10-12  Jakub Jelinek  <[email protected]>
18*c7ca977eSAlexander Kabaev
19*c7ca977eSAlexander Kabaev	PR preprocessor/28709
20*c7ca977eSAlexander Kabaev	* macro.c (paste_tokens): Do error reporting here, use BUF with the
21*c7ca977eSAlexander Kabaev	spelled LHS token as opposed to spelling it again.
22*c7ca977eSAlexander Kabaev	(paste_all_tokens): Don't report errors here, just break on failure.
23*c7ca977eSAlexander Kabaev
24*c7ca977eSAlexander Kabaev2006-10-10  Brooks Moses  <[email protected]>
25*c7ca977eSAlexander Kabaev
26*c7ca977eSAlexander Kabaev	* Makefile.in: Added empty "pdf" target.
27*c7ca977eSAlexander Kabaev
28*c7ca977eSAlexander Kabaev2006-09-22  Geoffrey Keating  <[email protected]>
29*c7ca977eSAlexander Kabaev
30*c7ca977eSAlexander Kabaev	* configure.ac: Make need_64_bit_hwint case for x86-darwin
31*c7ca977eSAlexander Kabaev	match exactly the glob in gcc/config.gcc.
32*c7ca977eSAlexander Kabaev	* configure: Regenerate.
33*c7ca977eSAlexander Kabaev
34*c7ca977eSAlexander Kabaev2006-09-13  Joseph S. Myers  <[email protected]>
35*c7ca977eSAlexander Kabaev
36*c7ca977eSAlexander Kabaev	PR c/28768
37*c7ca977eSAlexander Kabaev	PR preprocessor/14634
38*c7ca977eSAlexander Kabaev	* lex.c (lex_string): Pedwarn for unterminated literals.
39*c7ca977eSAlexander Kabaev
40*c7ca977eSAlexander Kabaev2006-09-08  Eric Christopher  <[email protected]>
41*c7ca977eSAlexander Kabaev
42*c7ca977eSAlexander Kabaev	* configure.ac: Add 64-bit HWI support for i?86-darwin.
43*c7ca977eSAlexander Kabaev
44*c7ca977eSAlexander Kabaev2006-08-14  Steve Ellcey  <[email protected]>
45*c7ca977eSAlexander Kabaev
46*c7ca977eSAlexander Kabaev	PR c++/28288
47*c7ca977eSAlexander Kabaev	PR c++/14556
48*c7ca977eSAlexander Kabaev	* include/cpplib.h: Remove <?, >?, <?=, and >?= tokens.
49*c7ca977eSAlexander Kabaev	(CPP_LAST_EQ): Change.
50*c7ca977eSAlexander Kabaev	(CPP_LAST_PUNCTUATOR): Change.
51*c7ca977eSAlexander Kabaev	* expr.c (cpp_operator): Remove MIN and MAX.
52*c7ca977eSAlexander Kabaev	(reduce): Remove CPP_MIN and CPP_MAX.
53*c7ca977eSAlexander Kabaev	(num_binary_op): Ditto.
54*c7ca977eSAlexander Kabaev	* lex.c (_cpp_lex_direct): Ditto.
55*c7ca977eSAlexander Kabaev	(cpp_avoid_paste): Remove ? as legal symbol after > or <.
56*c7ca977eSAlexander Kabaev
57*c7ca977eSAlexander Kabaev2006-06-09  Jakub Jelinek  <[email protected]>
58*c7ca977eSAlexander Kabaev
59*c7ca977eSAlexander Kabaev	PR preprocessor/27746
60*c7ca977eSAlexander Kabaev	* directives.c (do_pragma): Handle pragma with valid namespace
61*c7ca977eSAlexander Kabaev	and invalid name coming from macro expansion.
62*c7ca977eSAlexander Kabaev	* directives.c (destringize_and_run): Initialize next field in
63*c7ca977eSAlexander Kabaev	context.
64*c7ca977eSAlexander Kabaev
65*c7ca977eSAlexander Kabaev	PR c/27747
66*c7ca977eSAlexander Kabaev	PR c++/27748
67*c7ca977eSAlexander Kabaev	* directives.c (destringize_and_run): Set NO_EXPAND on the
68*c7ca977eSAlexander Kabaev	tokens.
69*c7ca977eSAlexander Kabaev
70*c7ca977eSAlexander Kabaev	* macro.c (_cpp_backup_tokens): Fix comment typo.
71*c7ca977eSAlexander Kabaev
72*c7ca977eSAlexander Kabaev2006-05-31  Daniel Jacobowitz  <[email protected]>
73*c7ca977eSAlexander Kabaev
74*c7ca977eSAlexander Kabaev	* Makefile.in (CATALOGS): Add po/ prefix.
75*c7ca977eSAlexander Kabaev	* configure: Regenerated.
76*c7ca977eSAlexander Kabaev
77*c7ca977eSAlexander Kabaev2006-05-23  Carlos O'Donell  <[email protected]>
78*c7ca977eSAlexander Kabaev
79*c7ca977eSAlexander Kabaev	* Makefile.in: Add install-html target. Add install-html to .PHONY
80*c7ca977eSAlexander Kabaev
81*c7ca977eSAlexander Kabaev2006-02-17  Grigory Zagorodnev <[email protected]>
82*c7ca977eSAlexander Kabaev
83*c7ca977eSAlexander Kabaev	* macro.c (_cpp_builtin_macro_text): Handle BT_TIMESTAMP.
84*c7ca977eSAlexander Kabaev	* files.c (_cpp_get_file_stat): New function.
85*c7ca977eSAlexander Kabaev	* include/cpplib.h (builtin_type): Add BT_TIMESTAMP.
86*c7ca977eSAlexander Kabaev	* init.c (builtin_array): Add support for __TIMESTAMP__/BT_TIMESTAMP.
87*c7ca977eSAlexander Kabaev	* internal.h (_cpp_get_file_stat): Prototype.
88*c7ca977eSAlexander Kabaev	(struct cpp_buffer): Add timestamp.
89*c7ca977eSAlexander Kabaev
90*c7ca977eSAlexander Kabaev2006-01-23  Jakub Jelinek  <[email protected]>
91*c7ca977eSAlexander Kabaev
92*c7ca977eSAlexander Kabaev	PR preprocessor/25717
93*c7ca977eSAlexander Kabaev	* init.c (cpp_init_builtins): If __STDC__ will not change value
94*c7ca977eSAlexander Kabaev	between system headers and other sources, define it as a normal
95*c7ca977eSAlexander Kabaev	macro rather than a builtin.
96*c7ca977eSAlexander Kabaev	* macro.c (_cpp_builtin_macro_text) <case BT_STDC>: Only check
97*c7ca977eSAlexander Kabaev	cpp_in_system_header condition.
98*c7ca977eSAlexander Kabaev
99*c7ca977eSAlexander Kabaev2006-01-05  Paolo Bonzini  <[email protected]>
100*c7ca977eSAlexander Kabaev
101*c7ca977eSAlexander Kabaev	* Makefile.in: Use -MMD instead of -MD.
102*c7ca977eSAlexander Kabaev
103*c7ca977eSAlexander Kabaev2006-01-04  Dmitry Kurochkin <[email protected]>
104*c7ca977eSAlexander Kabaev	    Richard Henderson  <[email protected]>
105*c7ca977eSAlexander Kabaev
106*c7ca977eSAlexander Kabaev	Merge from gomp branch:
107*c7ca977eSAlexander Kabaev	* directives.c (struct pragma_entry): Add is_deferred.  Add ident
108*c7ca977eSAlexander Kabaev	entry to value union.
109*c7ca977eSAlexander Kabaev	(end_directive): Don't eat the line if in_deferred_pragma.
110*c7ca977eSAlexander Kabaev	(run_directive): Remove pragma hacks.
111*c7ca977eSAlexander Kabaev	(insert_pragma_entry): Remove.
112*c7ca977eSAlexander Kabaev	(new_pragma_entry): New.
113*c7ca977eSAlexander Kabaev	(register_pragma_1): Split out of register_pragma.  Only handle
114*c7ca977eSAlexander Kabaev	the lookup tree and return the new entry.
115*c7ca977eSAlexander Kabaev	(cpp_register_pragma): Fill in the pragma entry here.
116*c7ca977eSAlexander Kabaev	(cpp_register_deferred_pragma): New.
117*c7ca977eSAlexander Kabaev	(register_pragma_internal): New.
118*c7ca977eSAlexander Kabaev	(_cpp_init_internal_pragmas): Use register_pragma_internal.
119*c7ca977eSAlexander Kabaev	(do_pragma): Allow pragma expansion after namespace.  For deferred
120*c7ca977eSAlexander Kabaev	pragmas, don't slurp the line into a string.
121*c7ca977eSAlexander Kabaev	(destringize_and_run): Save tokens for deferred pragmas.
122*c7ca977eSAlexander Kabaev	(cpp_handle_deferred_pragma): Remove.
123*c7ca977eSAlexander Kabaev	* macro.c (builtin_macro): Remove pragma token hack.
124*c7ca977eSAlexander Kabaev	(_cpp_push_token_context): Rename from push_token_context and export.
125*c7ca977eSAlexander Kabaev	* internal.h (struct lexer_state): Add pragma_allow_expansion.
126*c7ca977eSAlexander Kabaev	(_cpp_push_token_context): Declare.
127*c7ca977eSAlexander Kabaev	* lex.c (_cpp_lex_token): Allow _cpp_handle_directive to return
128*c7ca977eSAlexander Kabaev	a token.  Update the line number correctly if so.
129*c7ca977eSAlexander Kabaev	(_cpp_lex_direct): Emit CPP_PRAGMA_EOL tokens.
130*c7ca977eSAlexander Kabaev	(cpp_token_val_index): Return CPP_TOKEN_FLD_PRAGMA for pragmas.
131*c7ca977eSAlexander Kabaev	* include/cpplib.h (PRAGMA_EOL): New.
132*c7ca977eSAlexander Kabaev	(CPP_TOKEN_FLD_PRAGMA): New.
133*c7ca977eSAlexander Kabaev	(struct cpp_token): Add val.pragma.
134*c7ca977eSAlexander Kabaev	(struct cpp_options): Remove defer_pragmas.
135*c7ca977eSAlexander Kabaev	(cpp_handle_deferred_pragma): Remove.
136*c7ca977eSAlexander Kabaev	(cpp_register_deferred_pragma): Declare.
137*c7ca977eSAlexander Kabaev
138*c7ca977eSAlexander Kabaev2006-01-01  Jakub Jelinek  <[email protected]>
139*c7ca977eSAlexander Kabaev
140*c7ca977eSAlexander Kabaev	PR c++/25294
141*c7ca977eSAlexander Kabaev	* directives.c (do_pragma): If pragma line ends with multi-line
142*c7ca977eSAlexander Kabaev	block comment, end the saved deferred pragma string before that
143*c7ca977eSAlexander Kabaev	comment.  Handle embedded '\0' chars on the pragma line.
144*c7ca977eSAlexander Kabaev
145*c7ca977eSAlexander Kabaev2005-12-22  Volker Reichelt  <[email protected]>
146*c7ca977eSAlexander Kabaev
147*c7ca977eSAlexander Kabaev	PR c++/23333
148*c7ca977eSAlexander Kabaev	* include/cpplib.h: Add PURE_ZERO to flags for the cpp_token structure.
149*c7ca977eSAlexander Kabaev
150*c7ca977eSAlexander Kabaev2005-12-07  Jon Grimm  <[email protected]>
151*c7ca977eSAlexander Kabaev	    Ben Elliston  <[email protected]>
152*c7ca977eSAlexander Kabaev
153*c7ca977eSAlexander Kabaev	* include/cpplib.h (CPP_N_DFLOAT): New.
154*c7ca977eSAlexander Kabaev	* expr.c (interpret_float_suffix): Identify df, dd, and dl
155*c7ca977eSAlexander Kabaev	suffixes as decimal floating point constants.
156*c7ca977eSAlexander Kabaev	(cpp_classify_number): Disallow hexadecimal DFP constants.
157*c7ca977eSAlexander Kabaev
158*c7ca977eSAlexander Kabaev2005-11-14  Gerald Pfeifer  <[email protected]>
159*c7ca977eSAlexander Kabaev	    Ian Lance Taylor  <[email protected]>
160*c7ca977eSAlexander Kabaev
161*c7ca977eSAlexander Kabaev	* include/cpplib.h (struct cpp_callbacks): Annotate error with
162*c7ca977eSAlexander Kabaev	ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0).
163*c7ca977eSAlexander Kabaev
164*c7ca977eSAlexander Kabaev2005-11-09  Per Bothner  <[email protected]>
165*c7ca977eSAlexander Kabaev	    Uros Bizjak  <[email protected]>
166*c7ca977eSAlexander Kabaev
167*c7ca977eSAlexander Kabaev	PR c/24101
168*c7ca977eSAlexander Kabaev	* init.c (read_original_filename): Temporarily set
169*c7ca977eSAlexander Kabaev	state.in_directive before calling _cpp_lex_direct for
170*c7ca977eSAlexander Kabaev	CPP_HASH tokens.
171*c7ca977eSAlexander Kabaev
172*c7ca977eSAlexander Kabaev2005-11-03  James E Wilson  <[email protected]>
173*c7ca977eSAlexander Kabaev
174*c7ca977eSAlexander Kabaev	PR preprocessor/24202
175*c7ca977eSAlexander Kabaev	* files.c (_cpp_pop_file_buffer): Set buffer_valid to false.
176*c7ca977eSAlexander Kabaev
177*c7ca977eSAlexander Kabaev2005-11-04  Joseph S. Myers  <[email protected]>
178*c7ca977eSAlexander Kabaev
179*c7ca977eSAlexander Kabaev	* include/cpplib.h (struct cpp_callbacks): Make error take
180*c7ca977eSAlexander Kabaev	va_list* parameter.
181*c7ca977eSAlexander Kabaev	* errors.c (cpp_error): Update call to callback.
182*c7ca977eSAlexander Kabaev
183*c7ca977eSAlexander Kabaev2005-11-03  Andrew Pinski  <[email protected]>
184*c7ca977eSAlexander Kabaev
185*c7ca977eSAlexander Kabaev	PR preprocessor/22042
186*c7ca977eSAlexander Kabaev	* macro.c (_cpp_builtin_macro_text): Lower the needed max
187*c7ca977eSAlexander Kabaev	buffer size.
188*c7ca977eSAlexander Kabaev	(cpp_quote_string): Don't octalify non printable
189*c7ca977eSAlexander Kabaev	charactors.
190*c7ca977eSAlexander Kabaev
191*c7ca977eSAlexander Kabaev2005-11-03  Joseph S. Myers  <[email protected]>
192*c7ca977eSAlexander Kabaev
193*c7ca977eSAlexander Kabaev	PR c++/17964
194*c7ca977eSAlexander Kabaev	* include/cpplib.h (struct cpp_options): Add client_diagnostic.
195*c7ca977eSAlexander Kabaev	(struct cpp_callbacks): Add error.
196*c7ca977eSAlexander Kabaev	* errors.c (cpp_error): If client_diagnostic, use error callback.
197*c7ca977eSAlexander Kabaev	* charset.c (convert_escape): Don't use %03o in diagnostic.
198*c7ca977eSAlexander Kabaev
199*c7ca977eSAlexander Kabaev2005-10-21  James E Wilson  <[email protected]>
200*c7ca977eSAlexander Kabaev
201*c7ca977eSAlexander Kabaev	PR preprocessor/15220
202*c7ca977eSAlexander Kabaev	* files.c (_cpp_find_file): New parameter angle_brackets.  Fix all
203*c7ca977eSAlexander Kabaev	callers.  Pass to open_file_failed.
204*c7ca977eSAlexander Kabaev	(open_file_failed): New parameter angle_brackets.  Fix all callers.
205*c7ca977eSAlexander Kabaev	Use in print_dep assignment.
206*c7ca977eSAlexander Kabaev	* init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file.
207*c7ca977eSAlexander Kabaev	* internal.h (_cpp_find_file): Add new parm to declaration.
208*c7ca977eSAlexander Kabaev
209*c7ca977eSAlexander Kabaev2005-10-08  Kazu Hirata  <[email protected]>
210*c7ca977eSAlexander Kabaev
211*c7ca977eSAlexander Kabaev	* configure.ac: Require 64-bit int for arm*-*-*eabi*.
212*c7ca977eSAlexander Kabaev	* configure: Regenerate.
213*c7ca977eSAlexander Kabaev
214*c7ca977eSAlexander Kabaev2005-10-04  Ian Lance Taylor  <[email protected]>
215*c7ca977eSAlexander Kabaev
216*c7ca977eSAlexander Kabaev	PR preprocessor/13726
217*c7ca977eSAlexander Kabaev	* directives.c (check_eol_return_comments): New static function.
218*c7ca977eSAlexander Kabaev	(parse_include): Add buf parameter.  Change all callers.
219*c7ca977eSAlexander Kabaev	(do_include_common): If not discard comments, turn on
220*c7ca977eSAlexander Kabaev	save_comments.  Pass collected comments to include callback.
221*c7ca977eSAlexander Kabaev	* include/cpplib.h (struct cpp_callbacks): Add new parameter to
222*c7ca977eSAlexander Kabaev	include callback: cpp_token list.
223*c7ca977eSAlexander Kabaev
224*c7ca977eSAlexander Kabaev2005-09-20  Joseph S. Myers  <[email protected]>
225*c7ca977eSAlexander Kabaev
226*c7ca977eSAlexander Kabaev	* include/cpplib.h (struct cpp_options): Add extended_identifiers.
227*c7ca977eSAlexander Kabaev	* init.c (struct lang_flags, lang_defaults): Add
228*c7ca977eSAlexander Kabaev	extended_identifiers.
229*c7ca977eSAlexander Kabaev	(cpp_set_lang): Use it.
230*c7ca977eSAlexander Kabaev	* lex.c (forms_identifier_p): Check extended_identifiers.
231*c7ca977eSAlexander Kabaev
232*c7ca977eSAlexander Kabaev2005-08-30  Jakub Jelinek  <[email protected]>
233*c7ca977eSAlexander Kabaev
234*c7ca977eSAlexander Kabaev	PR preprocessor/20348
235*c7ca977eSAlexander Kabaev	PR preprocessor/20356
236*c7ca977eSAlexander Kabaev	* files.c (_cpp_find_file, search_cache): Revert 2004-06-26 and
237*c7ca977eSAlexander Kabaev	2004-06-05 changes.
238*c7ca977eSAlexander Kabaev
239*c7ca977eSAlexander Kabaev2005-07-23  Kaveh R. Ghazi  <[email protected]>
240*c7ca977eSAlexander Kabaev
241*c7ca977eSAlexander Kabaev	* configure.ac (ACX_PROG_CC_WARNING_OPTS): add
242*c7ca977eSAlexander Kabaev	-Wmissing-format-attribute.
243*c7ca977eSAlexander Kabaev
244*c7ca977eSAlexander Kabaev	* configure: Regenerate.
245*c7ca977eSAlexander Kabaev
246*c7ca977eSAlexander Kabaev2005-06-29  Kelley Cook  <[email protected]>
247*c7ca977eSAlexander Kabaev
248*c7ca977eSAlexander Kabaev	* all files: Update FSF address in copyright headers.
249*c7ca977eSAlexander Kabaev	* makeucnid.c (write_copyright): Update outputted FSF address.
250*c7ca977eSAlexander Kabaev
251*c7ca977eSAlexander Kabaev2005-06-13  Zack Weinberg  <[email protected]>
252*c7ca977eSAlexander Kabaev
253*c7ca977eSAlexander Kabaev	* configure.ac: Invoke ZW_CREATE_DEPDIR and
254*c7ca977eSAlexander Kabaev	ZW_PROG_COMPILER_DEPENDENCIES.
255*c7ca977eSAlexander Kabaev	* aclocal.m4, configure: Regenerate.
256*c7ca977eSAlexander Kabaev	* Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.base, COMPILE):
257*c7ca977eSAlexander Kabaev	New variables.
258*c7ca977eSAlexander Kabaev	(distclean): Clean up $(DEPDIR) and its contents.
259*c7ca977eSAlexander Kabaev	(.c.o): Use $(COMPILE).
260*c7ca977eSAlexander Kabaev	Include $(DEPDIR)/*.Po for most object->header dependencies.
261*c7ca977eSAlexander Kabaev
262*c7ca977eSAlexander Kabaev2005-05-28  Gabriel Dos Reis  <[email protected]>
263*c7ca977eSAlexander Kabaev
264*c7ca977eSAlexander Kabaev	* configure.ac: Check declarations for asprintf and vasprintf.
265*c7ca977eSAlexander Kabaev	* config.in: Regenerate.
266*c7ca977eSAlexander Kabaev	* configure: Likewise.
267*c7ca977eSAlexander Kabaev
268*c7ca977eSAlexander Kabaev	* charset.c (conversion_loop): Use XRESIZEVEC.
269*c7ca977eSAlexander Kabaev	(convert_no_conversion): Likewise.
270*c7ca977eSAlexander Kabaev	(convert_using_iconv): Likewise.
271*c7ca977eSAlexander Kabaev	(init_iconv_desc): Cast return value of alloca.
272*c7ca977eSAlexander Kabaev	(cpp_host_to_exec_charset): Use XNEWVEC.
273*c7ca977eSAlexander Kabaev	(emit_numeric_escape): Use XRESIZEVEC.
274*c7ca977eSAlexander Kabaev	(cpp_interpret_string): Use XNEWVEC.
275*c7ca977eSAlexander Kabaev	(cpp_interpret_string): Use XRESIZEVEC.
276*c7ca977eSAlexander Kabaev	(_cpp_interpret_identifier): Cast return value of alloca.
277*c7ca977eSAlexander Kabaev	(_cpp_convert_input): Use XNEWVEC and XRESIZEVEC.
278*c7ca977eSAlexander Kabaev	* directives.c (glue_header_name): Use XNEWVEC and XRESIZEVEC.
279*c7ca977eSAlexander Kabaev	(parse_include): Use XNEWVEC.
280*c7ca977eSAlexander Kabaev	(insert_pragma_entry): Rename local variable "new" to
281*c7ca977eSAlexander Kabaev	"new_entry".
282*c7ca977eSAlexander Kabaev	(save_registered_pragmas): Cast return value of xmemdup.
283*c7ca977eSAlexander Kabaev	(destringize_and_run): Same for alloca.
284*c7ca977eSAlexander Kabaev	(parse_assertion): Likewise.
285*c7ca977eSAlexander Kabaev	(do_assert): Cast allocated storage to proper type.
286*c7ca977eSAlexander Kabaev	(cpp_define): Likewise.
287*c7ca977eSAlexander Kabaev	(_cpp_define_builtin): Likewise.
288*c7ca977eSAlexander Kabaev	(cpp_undef): Likewise.
289*c7ca977eSAlexander Kabaev	(handle_assertion): Likewise.
290*c7ca977eSAlexander Kabaev	(cpp_push_buffer): Rename local variable "new" to "new_buffer".
291*c7ca977eSAlexander Kabaev	* expr.c (CPP_UPLUS): Cast value to type cpp_ttype.
292*c7ca977eSAlexander Kabaev	(CPP_UMINUS): Likewise.
293*c7ca977eSAlexander Kabaev	(struct cpp_operator): Rename from struct operator.
294*c7ca977eSAlexander Kabaev	(_cpp_expand_op_stack): Use XRESIZEVEC.
295*c7ca977eSAlexander Kabaev	* files.c (pch_open_file): Use XNEWVEC.
296*c7ca977eSAlexander Kabaev	(pch_open_file): Use XRESIZEVEC.
297*c7ca977eSAlexander Kabaev	(read_file_guts): Use XNEWVEC and XRESIZEVEC.
298*c7ca977eSAlexander Kabaev	(dir_name_of_file): Use XNEWVEC.
299*c7ca977eSAlexander Kabaev	(make_cpp_file): Use XCNEW.
300*c7ca977eSAlexander Kabaev	(make_cpp_dir): Likewise.
301*c7ca977eSAlexander Kabaev	(allocate_file_hash_entries): USE XNEWVEC.
302*c7ca977eSAlexander Kabaev	(cpp_included): Cast return value of htab_find_with_hash.
303*c7ca977eSAlexander Kabaev	(append_file_to_dir): Use XNEWVEC.
304*c7ca977eSAlexander Kabaev	(read_filename_string): Likewise. Use XRESIZEVEC too.
305*c7ca977eSAlexander Kabaev	(read_name_map): Cast return value of alloca.  Use XRESIZEVEC.
306*c7ca977eSAlexander Kabaev	(remap_filename): Use XNEWVEC.
307*c7ca977eSAlexander Kabaev	(struct pchf_entry): Move definition out of struct pchf_data.
308*c7ca977eSAlexander Kabaev	(_cpp_save_file_entries): Use XCNEWVAR.
309*c7ca977eSAlexander Kabaev	(_cpp_read_file_entries): Use XNEWVAR.
310*c7ca977eSAlexander Kabaev	* identifiers.c (alloc_node): Use XOBNEW.
311*c7ca977eSAlexander Kabaev	* init.c (cpp_create_reader): Use XCNEW.
312*c7ca977eSAlexander Kabaev	(cpp_init_builtins): Cast of b->value to enum builtin_type.
313*c7ca977eSAlexander Kabaev	(read_original_directory): Cast return value of alloca.
314*c7ca977eSAlexander Kabaev	* lex.c (add_line_note): Use XRESIZEVEC.
315*c7ca977eSAlexander Kabaev	(warn_about_normalization): Use XNEWVEC.
316*c7ca977eSAlexander Kabaev	(_cpp_lex_direct): Cast node->directive_index to (enum cpp_ttype).
317*c7ca977eSAlexander Kabaev	(new_buff): Use XNEWVEC.
318*c7ca977eSAlexander Kabaev	* line-map.c (linemap_add): Use XRESIZEVEC.
319*c7ca977eSAlexander Kabaev	* macro.c (builtin_macro): Cast return value of alloca.
320*c7ca977eSAlexander Kabaev	(paste_tokens): Likewise.
321*c7ca977eSAlexander Kabaev	(expand_arg): Use XNEWVEC and XRESIZEVEC.
322*c7ca977eSAlexander Kabaev	(_cpp_save_parameter): Use XRESIZEVEC.
323*c7ca977eSAlexander Kabaev	(create_iso_definition): Cast allocated storage to proper type.
324*c7ca977eSAlexander Kabaev	(_cpp_create_definition): Likewise.
325*c7ca977eSAlexander Kabaev	(cpp_macro_definition): Use XRESIZEVEC.
326*c7ca977eSAlexander Kabaev	* makedepend.c (add_clm): Use XNEW.
327*c7ca977eSAlexander Kabaev	(add_dir): Likewise.
328*c7ca977eSAlexander Kabaev	* mkdeps.c (munge): Use XNEWVEC.
329*c7ca977eSAlexander Kabaev	(deps_init): Use XCNEW.
330*c7ca977eSAlexander Kabaev	(deps_add_target): Use XRESIZEVEC.
331*c7ca977eSAlexander Kabaev	(deps_add_default_target): Cast return value of alloca.
332*c7ca977eSAlexander Kabaev	(deps_add_dep): Use XRESIZEVEC.
333*c7ca977eSAlexander Kabaev	(deps_add_vpath): Likewise.  Use XNEWVEC too.
334*c7ca977eSAlexander Kabaev	(deps_restore): Likewise.
335*c7ca977eSAlexander Kabaev	* pch.c (save_idents): Use XNEW and XNEWVEC.
336*c7ca977eSAlexander Kabaev	(cpp_save_state): Use XNEW.
337*c7ca977eSAlexander Kabaev	(count_defs): Cast return value of htab_find.
338*c7ca977eSAlexander Kabaev	(write_defs): Likewise.
339*c7ca977eSAlexander Kabaev	(cpp_write_pch_deps): Use XNEWVEC.
340*c7ca977eSAlexander Kabaev	(collect_ht_nodes): Use XRESIZEVEC.
341*c7ca977eSAlexander Kabaev	(cpp_valid_state): Use XNEWVEC.
342*c7ca977eSAlexander Kabaev	(save_macros): Use XRESIZEVEC.  Cast return value of xmemdup.
343*c7ca977eSAlexander Kabaev	* symtab.c (ht_create): Use XCNEW.
344*c7ca977eSAlexander Kabaev	(ht_lookup_with_hash): Cast return value of obstack_copy0.
345*c7ca977eSAlexander Kabaev	(ht_expand): Use XCNEWVEC.
346*c7ca977eSAlexander Kabaev	* system.h (HAVE_DESIGNATED_INITIALIZERS): False if __cplusplus.
347*c7ca977eSAlexander Kabaev	(bool): Do not define if __cplusplus.
348*c7ca977eSAlexander Kabaev
349*c7ca977eSAlexander Kabaev2005-05-12  Zack Weinberg  <[email protected]>
350*c7ca977eSAlexander Kabaev
351*c7ca977eSAlexander Kabaev	* directives.c (#sccs table entry): Mark IN_I, consistent with #ident.
352*c7ca977eSAlexander Kabaev	(do_sccs): Delete function definition, #define to do_ident.
353*c7ca977eSAlexander Kabaev	(do_ident): Don't hardwire directive name.
354*c7ca977eSAlexander Kabaev
355*c7ca977eSAlexander Kabaev2005-05-12  Ryota Kunisawa  <[email protected]>
356*c7ca977eSAlexander Kabaev
357*c7ca977eSAlexander Kabaev	PR bootstrap/21230
358*c7ca977eSAlexander Kabaev	* configure: Regenerate.
359*c7ca977eSAlexander Kabaev
360*c7ca977eSAlexander Kabaev2005-04-27  Andris Pavenis  <[email protected]>
361*c7ca977eSAlexander Kabaev
362*c7ca977eSAlexander Kabaev	* files.c: Include io.h for DJGPP to get prototype of setmode.
363*c7ca977eSAlexander Kabaev
364*c7ca977eSAlexander Kabaev2005-04-19  Per Bothner  <[email protected]>
365*c7ca977eSAlexander Kabaev
366*c7ca977eSAlexander Kabaev	PR preprocessor/20907
367*c7ca977eSAlexander Kabaev	* line-map.c (linemap_line_start): Fix bug when we need to increse
368*c7ca977eSAlexander Kabaev	column_bits but can re-use the current line_map.
369*c7ca977eSAlexander Kabaev
370*c7ca977eSAlexander Kabaev2005-04-19  Kaveh R. Ghazi  <[email protected]>
371*c7ca977eSAlexander Kabaev
372*c7ca977eSAlexander Kabaev	* system.h (fopen, fdopen, freopen): Define these to the unlocked
373*c7ca977eSAlexander Kabaev	libiberty functions.
374*c7ca977eSAlexander Kabaev
375*c7ca977eSAlexander Kabaev2005-04-11  Kaveh R. Ghazi  <[email protected]>
376*c7ca977eSAlexander Kabaev
377*c7ca977eSAlexander Kabaev	* configure.ac (libcpp_UNLOCKED_FUNCS): New.
378*c7ca977eSAlexander Kabaev	(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
379*c7ca977eSAlexander Kabaev	* system.h (putchar, getc, getchar, clearerr, feof, fileno,
380*c7ca977eSAlexander Kabaev	fflush, fgetc, fgets, ferror, fread): Redefine to the associated
381*c7ca977eSAlexander Kabaev	_unlocked function.
382*c7ca977eSAlexander Kabaev	(fwrite_unlocked): Fix prototype.
383*c7ca977eSAlexander Kabaev
384*c7ca977eSAlexander Kabaev	* configure, config.in: Regenerate.
385*c7ca977eSAlexander Kabaev
386*c7ca977eSAlexander Kabaev2005-04-05  Jakub Jelinek  <[email protected]>
387*c7ca977eSAlexander Kabaev
388*c7ca977eSAlexander Kabaev	PR preprocessor/19475
389*c7ca977eSAlexander Kabaev	* macro.c (create_iso_definition): For < ISO C99, don't
390*c7ca977eSAlexander Kabaev	pedwarn if there is no whitespace between macro name and its
391*c7ca977eSAlexander Kabaev	replacement, but the replacement starts with a basic character
392*c7ca977eSAlexander Kabaev	set character.
393*c7ca977eSAlexander Kabaev
394*c7ca977eSAlexander Kabaev2005-03-28  Andreas Jaeger  <[email protected]>
395*c7ca977eSAlexander Kabaev
396*c7ca977eSAlexander Kabaev	* lex.c (warn_about_normalization): Cast field width to int to
397*c7ca977eSAlexander Kabaev	avoid warning.
398*c7ca977eSAlexander Kabaev
399*c7ca977eSAlexander Kabaev2005-03-19  Joseph S. Myers  <[email protected]>
400*c7ca977eSAlexander Kabaev
401*c7ca977eSAlexander Kabaev	* configure.ac: Consistently use solaris2.1[0-9]* instead of
402*c7ca977eSAlexander Kabaev	solaris2.1[0-9].
403*c7ca977eSAlexander Kabaev	* configure: Regenerate.
404*c7ca977eSAlexander Kabaev
405*c7ca977eSAlexander Kabaev2005-03-15  Geoffrey Keating  <[email protected]>
406*c7ca977eSAlexander Kabaev
407*c7ca977eSAlexander Kabaev	* charset.c (_cpp_valid_ucn): In identifiers, reject a partial
408*c7ca977eSAlexander Kabaev	UCN rather than printing an error.
409*c7ca977eSAlexander Kabaev
410*c7ca977eSAlexander Kabaev2005-03-14  Geoffrey Keating  <[email protected]>
411*c7ca977eSAlexander Kabaev
412*c7ca977eSAlexander Kabaev	* lex.c (forms_identifier_p): Disable UCNs in C89 mode.
413*c7ca977eSAlexander Kabaev
414*c7ca977eSAlexander Kabaev2005-03-14  Geoffrey Keating  <[email protected]>
415*c7ca977eSAlexander Kabaev
416*c7ca977eSAlexander Kabaev	* init.c (cpp_create_reader): Default warn_normalize to normalized_C.
417*c7ca977eSAlexander Kabaev	* charset.c: Update for new format of ucnid.h.
418*c7ca977eSAlexander Kabaev	(ucn_valid_in_identifier): Update for new format of ucnid.h.
419*c7ca977eSAlexander Kabaev	Add NST parameter, and update it; update callers.
420*c7ca977eSAlexander Kabaev	(cpp_valid_ucn): Add NST parameter, update callers.  Replace abort
421*c7ca977eSAlexander Kabaev	with cpp_error.
422*c7ca977eSAlexander Kabaev	(convert_ucn): Pass normalize_state to cpp_valid_ucn.
423*c7ca977eSAlexander Kabaev	* internal.h (struct normalize_state): New.
424*c7ca977eSAlexander Kabaev	(INITIAL_NORMALIZE_STATE): New.
425*c7ca977eSAlexander Kabaev	(NORMALIZE_STATE_RESULT): New.
426*c7ca977eSAlexander Kabaev	(NORMALIZE_STATE_UPDATE_IDNUM): New.
427*c7ca977eSAlexander Kabaev	(_cpp_valid_ucn): New.
428*c7ca977eSAlexander Kabaev	* lex.c (warn_about_normalization): New.
429*c7ca977eSAlexander Kabaev	(forms_identifier_p): Add normalize_state parameter, update callers.
430*c7ca977eSAlexander Kabaev	(lex_identifier): Add normalize_state parameter, update callers.  Keep
431*c7ca977eSAlexander Kabaev	the state current.
432*c7ca977eSAlexander Kabaev	(lex_number): Likewise.
433*c7ca977eSAlexander Kabaev	(_cpp_lex_direct): Pass normalize_state to subroutines.  Check
434*c7ca977eSAlexander Kabaev	it with warn_about_normalization.
435*c7ca977eSAlexander Kabaev	* makeucnid.c: New.
436*c7ca977eSAlexander Kabaev	* ucnid.h: Replace.
437*c7ca977eSAlexander Kabaev	* ucnid.pl: Remove.
438*c7ca977eSAlexander Kabaev	* ucnid.tab: Make appropriate for input to makeucnid.c.  Remove
439*c7ca977eSAlexander Kabaev	comments about obsolete version of C++.
440*c7ca977eSAlexander Kabaev	* include/cpplib.h (enum cpp_normalize_level): New.
441*c7ca977eSAlexander Kabaev	(struct cpp_options): Add warn_normalize field.
442*c7ca977eSAlexander Kabaev
443*c7ca977eSAlexander Kabaev2005-03-11  Geoffrey Keating  <[email protected]>
444*c7ca977eSAlexander Kabaev
445*c7ca977eSAlexander Kabaev	* directives.c (glue_header_name): Update call to cpp_spell_token.
446*c7ca977eSAlexander Kabaev	* internal.h (_cpp_interpret_identifier): New.
447*c7ca977eSAlexander Kabaev	* charset.c (_cpp_interpret_identifier): New.
448*c7ca977eSAlexander Kabaev	(_cpp_valid_ucn): Allow UCN version of '$'.
449*c7ca977eSAlexander Kabaev	* lex.c (lex_identifier): Add extra parameter to indicate if initial
450*c7ca977eSAlexander Kabaev	character was '$' or '\'.  Support identifiers with UCNs.
451*c7ca977eSAlexander Kabaev	(forms_identifier_p): Allow UCNs.
452*c7ca977eSAlexander Kabaev	(_cpp_lex_direct): Pass extra parameter to lex_identifier.
453*c7ca977eSAlexander Kabaev	(utf8_to_ucn): New.
454*c7ca977eSAlexander Kabaev	(cpp_spell_token): Add FORSTRING parameter.  Use it.
455*c7ca977eSAlexander Kabaev	(cpp_token_as_text): Update call to cpp_spell_token.
456*c7ca977eSAlexander Kabaev	(cpp_output_token): Write UCNs back out.
457*c7ca977eSAlexander Kabaev	(stringify_arg): Update call to cpp_spell_token.
458*c7ca977eSAlexander Kabaev	(paste_tokens): Likewise.
459*c7ca977eSAlexander Kabaev	(cpp_macro_definition): Likewise.
460*c7ca977eSAlexander Kabaev	* macro.c (stringify_arg): Likewise.
461*c7ca977eSAlexander Kabaev	(paste_tokens): Likewise.
462*c7ca977eSAlexander Kabaev	(cpp_macro_definition): Likewise.
463*c7ca977eSAlexander Kabaev	* include/cpplib.h: Add parameter to cpp_spell_token.
464*c7ca977eSAlexander Kabaev
465*c7ca977eSAlexander Kabaev2005-03-04  Jakub Jelinek  <[email protected]>
466*c7ca977eSAlexander Kabaev
467*c7ca977eSAlexander Kabaev	PR bootstrap/20282
468*c7ca977eSAlexander Kabaev	PR bootstrap/20305
469*c7ca977eSAlexander Kabaev	* macro.c (replace_args, cpp_get_token): Copy whole
470*c7ca977eSAlexander Kabaev	cpp_token_u instead of just cpp_string field from it.
471*c7ca977eSAlexander Kabaev
472*c7ca977eSAlexander Kabaev2005-02-28  Devang Patel  <[email protected]>
473*c7ca977eSAlexander Kabaev
474*c7ca977eSAlexander Kabaev	* directives.c (do_line): Save sysp early before line table is
475*c7ca977eSAlexander Kabaev	realloc'ed.
476*c7ca977eSAlexander Kabaev
477*c7ca977eSAlexander Kabaev2005-02-20  Zack Weinberg  <[email protected]>
478*c7ca977eSAlexander Kabaev
479*c7ca977eSAlexander Kabaev	PR 18785
480*c7ca977eSAlexander Kabaev	* charset.c (LAST_POSSIBLY_BASIC_SOURCE_CHAR): New helper macro.
481*c7ca977eSAlexander Kabaev	(cpp_host_to_exec_charset): New function.
482*c7ca977eSAlexander Kabaev	* include/cpplib.h: Declare cpp_host_to_exec_charset.
483*c7ca977eSAlexander Kabaev
484*c7ca977eSAlexander Kabaev2005-02-19  Devang Patel  <[email protected]>
485*c7ca977eSAlexander Kabaev
486*c7ca977eSAlexander Kabaev	* charset.c (_cpp_convert_input): Check '\r' before inserting
487*c7ca977eSAlexander Kabaev	'\n' at the end.
488*c7ca977eSAlexander Kabaev
489*c7ca977eSAlexander Kabaev2005-02-15  Eric Christopher  <[email protected]>
490*c7ca977eSAlexander Kabaev
491*c7ca977eSAlexander Kabaev	PR preprocessor/19077
492*c7ca977eSAlexander Kabaev	* macro.c (cpp_macro_definition): Move handling of whitespace
493*c7ca977eSAlexander Kabaev	to PREV_WHITE conditional. Remove overloading of len
494*c7ca977eSAlexander Kabaev	variable.
495*c7ca977eSAlexander Kabaev
496*c7ca977eSAlexander Kabaev2005-02-14  Kazu Hirata  <[email protected]>
497*c7ca977eSAlexander Kabaev
498*c7ca977eSAlexander Kabaev	* directives.c, files.c, init.c, internal.h, macro.c, pch.c,
499*c7ca977eSAlexander Kabaev	traditional.c: Update copyright.
500*c7ca977eSAlexander Kabaev
501*c7ca977eSAlexander Kabaev2005-02-14  Paolo Bonzini  <[email protected]>
502*c7ca977eSAlexander Kabaev
503*c7ca977eSAlexander Kabaev	PR bootstrap/19818
504*c7ca977eSAlexander Kabaev	* configure.ac: Check for declaration of basename and getopt.
505*c7ca977eSAlexander Kabaev	* config.in: Regenerate.
506*c7ca977eSAlexander Kabaev	* configure: Regenerate.
507*c7ca977eSAlexander Kabaev	* internal.h (ustrcspn): New.
508*c7ca977eSAlexander Kabaev	* macro.c (create_iso_definition): Fix allocation of memory.
509*c7ca977eSAlexander Kabaev	(padding_token): Add cast to remove const-ness.
510*c7ca977eSAlexander Kabaev	* pch.c (cpp_read_state): Use ustrcspn.
511*c7ca977eSAlexander Kabaev
512*c7ca977eSAlexander Kabaev2005-02-08  Mike Stump  <[email protected]>
513*c7ca977eSAlexander Kabaev
514*c7ca977eSAlexander Kabaev	* files.c (pchf_adder): Remove.
515*c7ca977eSAlexander Kabaev	(struct pchf_adder_info): Likewise.
516*c7ca977eSAlexander Kabaev	(_cpp_save_file_entries): Write out all files so that #import works.
517*c7ca977eSAlexander Kabaev
518*c7ca977eSAlexander Kabaev2005-01-23  Joseph S. Myers  <[email protected]>
519*c7ca977eSAlexander Kabaev
520*c7ca977eSAlexander Kabaev	* configure: Regenerate.
521*c7ca977eSAlexander Kabaev
522*c7ca977eSAlexander Kabaev2005-01-11  Tobias Schlueter  <[email protected]>
523*c7ca977eSAlexander Kabaev
524*c7ca977eSAlexander Kabaev	* include/cpplib.h (c_lang): Fix comment to say cpp_create_reader.
525*c7ca977eSAlexander Kabaev
526*c7ca977eSAlexander Kabaev	* include/cpplib.h: Also update copyright years.
527*c7ca977eSAlexander Kabaev
528*c7ca977eSAlexander Kabaev2005-01-03  Geoffrey Keating  <[email protected]>
529*c7ca977eSAlexander Kabaev
530*c7ca977eSAlexander Kabaev	* files.c (_cpp_find_file): Add files found by search_path_exhausted
531*c7ca977eSAlexander Kabaev	to the list of all files.
532*c7ca977eSAlexander Kabaev
533*c7ca977eSAlexander Kabaev2005-01-01  Gabriel Dos Reis  <[email protected]>
534*c7ca977eSAlexander Kabaev
535*c7ca977eSAlexander Kabaev	* internal.h: Update references to Cpp lib filenames.
536*c7ca977eSAlexander Kabaev	* directives.c: Likewise.
537*c7ca977eSAlexander Kabaev	* init.c: Likewise.
538*c7ca977eSAlexander Kabaev	* macro.c: Likewise.
539*c7ca977eSAlexander Kabaev	* traditional.c: Likewise.
540*c7ca977eSAlexander Kabaev
541*c7ca977eSAlexander Kabaev2004-12-15  Eric Botcazou  <[email protected]>
542*c7ca977eSAlexander Kabaev
543*c7ca977eSAlexander Kabaev	PR preprocessor/15167
544*c7ca977eSAlexander Kabaev	* files.c (destroy_cpp_file): New function.
545*c7ca977eSAlexander Kabaev	(should_stack_file): Make a new file if the
546*c7ca977eSAlexander Kabaev	compared file is still stacked.
547*c7ca977eSAlexander Kabaev
548*c7ca977eSAlexander Kabaev2004-11-28  Nathanael Nerode  <[email protected]>
549*c7ca977eSAlexander Kabaev
550*c7ca977eSAlexander Kabaev	PR preprocessor/17610
551*c7ca977eSAlexander Kabaev	* directives.c (do_include_common): Error out if an empty filename
552*c7ca977eSAlexander Kabaev	is given for #include (or #include_next or #import).
553*c7ca977eSAlexander Kabaev
554*c7ca977eSAlexander Kabaev2004-11-27  Roger Sayle  <[email protected]>
555*c7ca977eSAlexander Kabaev	    Zack Weinberg  <[email protected]>
556*c7ca977eSAlexander Kabaev
557*c7ca977eSAlexander Kabaev	* internal.h: Replace all uses of uchar with unsigned char.
558*c7ca977eSAlexander Kabaev	* include/cpp-id-data.h: Likewise.  Guard typedef of uchar
559*c7ca977eSAlexander Kabaev	with !IN_GCC, so uchar is only defined whilst building libcpp.
560*c7ca977eSAlexander Kabaev
561*c7ca977eSAlexander Kabaev2004-11-24  Kelley Cook  <[email protected]>
562*c7ca977eSAlexander Kabaev
563*c7ca977eSAlexander Kabaev	* aclocal.m4: Regenerate.
564*c7ca977eSAlexander Kabaev
565*c7ca977eSAlexander Kabaev2004-11-24  Roger Sayle  <[email protected]>
566*c7ca977eSAlexander Kabaev
567*c7ca977eSAlexander Kabaev	PR preprocessor/15824
568*c7ca977eSAlexander Kabaev	* configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
569*c7ca977eSAlexander Kabaev	directly, instead of the non-existant "system.h" and "ansidecl.h".
570*c7ca977eSAlexander Kabaev	* configure: Regenerate.
571*c7ca977eSAlexander Kabaev
572*c7ca977eSAlexander Kabaev2004-11-23  Daniel Jacobowitz  <[email protected]>
573*c7ca977eSAlexander Kabaev	    Joseph Myers  <[email protected]>
574*c7ca977eSAlexander Kabaev
575*c7ca977eSAlexander Kabaev	* internal.h (struct lexer_state): Add in_deferred_pragma.
576*c7ca977eSAlexander Kabaev	* directives.c (struct pragma_entry): Add allow_expansion.
577*c7ca977eSAlexander Kabaev	(insert_pragma_entry): Take allow_expansion flag.
578*c7ca977eSAlexander Kabaev	(register_pragma): Likewise.
579*c7ca977eSAlexander Kabaev	(cpp_register_pragma): Likewise.
580*c7ca977eSAlexander Kabaev	(_cpp_init_internal_pragmas): Update calls to cpp_register_pragma.
581*c7ca977eSAlexander Kabaev	(do_pragma): Honor allow_expansion.
582*c7ca977eSAlexander Kabaev	(cpp_handle_deferred_pragma): Set in_deferred_pragma.
583*c7ca977eSAlexander Kabaev	* include/cpplib.h (cpp_register_pragma): Update prototype.
584*c7ca977eSAlexander Kabaev
585*c7ca977eSAlexander Kabaev2004-11-18  Daniel Jacobowitz  <[email protected]>
586*c7ca977eSAlexander Kabaev	    Mark Mitchell  <[email protected]>
587*c7ca977eSAlexander Kabaev
588*c7ca977eSAlexander Kabaev	* configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set
589*c7ca977eSAlexander Kabaev	need_64bit_hwint=yes.
590*c7ca977eSAlexander Kabaev	* configure: Regenerate.
591*c7ca977eSAlexander Kabaev
592*c7ca977eSAlexander Kabaev2004-11-09  Joseph S. Myers  <[email protected]>
593*c7ca977eSAlexander Kabaev
594*c7ca977eSAlexander Kabaev	* Makefile.in ($(PACKAGE).pot): New rule.  Depend on
595*c7ca977eSAlexander Kabaev	po/$(PACKAGE).pot.
596*c7ca977eSAlexander Kabaev	(po/$(PACKAGE).pot): Use ":" instead of "," in --keyword
597*c7ca977eSAlexander Kabaev	arguments.  Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2.
598*c7ca977eSAlexander Kabaev	Remove local srcdir path from generated file.
599*c7ca977eSAlexander Kabaev
600*c7ca977eSAlexander Kabaev2004-11-04  Zack Weinberg  <[email protected]>
601*c7ca977eSAlexander Kabaev	    Gerald Pfeifer  <[email protected]>
602*c7ca977eSAlexander Kabaev
603*c7ca977eSAlexander Kabaev	* internal.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
604*c7ca977eSAlexander Kabaev	as well.
605*c7ca977eSAlexander Kabaev
606*c7ca977eSAlexander Kabaev2004-10-27  Zack Weinberg  <[email protected]>
607*c7ca977eSAlexander Kabaev
608*c7ca977eSAlexander Kabaev	PR 18075
609*c7ca977eSAlexander Kabaev	* directives.c (do_pragma): Do not defer pragmas which are unknown.
610*c7ca977eSAlexander Kabaev	(cpp_handle_deferred_pragma): Add cast to silence warning.
611*c7ca977eSAlexander Kabaev
612*c7ca977eSAlexander Kabaev2004-10-14  Joseph S. Myers  <[email protected]>
613*c7ca977eSAlexander Kabaev
614*c7ca977eSAlexander Kabaev	* errors.c (_cpp_begin_message): Print "error: " for errors.
615*c7ca977eSAlexander Kabaev
616*c7ca977eSAlexander Kabaev2004-10-10  Andreas Jaeger  <[email protected]>
617*c7ca977eSAlexander Kabaev
618*c7ca977eSAlexander Kabaev	* makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
619*c7ca977eSAlexander Kabaev	* Makefile.in (makedepend.o): Add dependency on mkdeps.h.
620*c7ca977eSAlexander Kabaev
621*c7ca977eSAlexander Kabaev2004-10-08  Andrew Pinski  <[email protected]>
622*c7ca977eSAlexander Kabaev
623*c7ca977eSAlexander Kabaev	* pch.c (cpp_write_pch_state): Remove variable z as it is not
624*c7ca977eSAlexander Kabaev	used.
625*c7ca977eSAlexander Kabaev	(cpp_read_state): Remove unused variables, m, d and mac_count.
626*c7ca977eSAlexander Kabaev
627*c7ca977eSAlexander Kabaev2004-09-29  Per Bothner  <[email protected]>
628*c7ca977eSAlexander Kabaev
629*c7ca977eSAlexander Kabaev	* directives.c (cpp_handle_deferred_pragma):  Save, clear and restore
630*c7ca977eSAlexander Kabaev	cb.line_change.  Otherwise do_pragma will call the line_change
631*c7ca977eSAlexander Kabaev	call-back with a meaningless line number.
632*c7ca977eSAlexander Kabaev
633*c7ca977eSAlexander Kabaev2004-09-24  Zack Weinberg  <[email protected]>
634*c7ca977eSAlexander Kabaev
635*c7ca977eSAlexander Kabaev	* configure.ac: Move AC_PROG_MAKE_SET, AC_PROG_INSTALL to
636*c7ca977eSAlexander Kabaev	programs cluster. Use ACX_PROG_CC_WARNING_OPTS,
637*c7ca977eSAlexander Kabaev	ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_PROG_CC_WARNINGS_ARE_ERRORS.
638*c7ca977eSAlexander Kabaev	* aclocal.m4, configure: Regenerate.
639*c7ca977eSAlexander Kabaev	* init.c: Include localedir.h.
640*c7ca977eSAlexander Kabaev	* Makefile.in (WARN_CFLAGS, ALL_CFLAGS): New variables.
641*c7ca977eSAlexander Kabaev	(DEFS): Delete.
642*c7ca977eSAlexander Kabaev	(.c.o): Use $(ALL_CFLAGS).
643*c7ca977eSAlexander Kabaev	(localedir.h, localedir.hs): New rules.
644*c7ca977eSAlexander Kabaev	(clean): Use rm -rf to remove directories.
645*c7ca977eSAlexander Kabaev	(distclean): Also delete localedir.h and localedir.hs.
646*c7ca977eSAlexander Kabaev	(init.o): Update dependencies.
647*c7ca977eSAlexander Kabaev
648*c7ca977eSAlexander Kabaev2004-09-22  Kelley Cook  <[email protected]>
649*c7ca977eSAlexander Kabaev
650*c7ca977eSAlexander Kabaev	* Makefile.in (aclocal.m4): Update dependencies.
651*c7ca977eSAlexander Kabaev	* configure.ac (AC_CONFIG_MACRO_DIR): New.
652*c7ca977eSAlexander Kabaev	* aclocal.m4, configure: Regenerate.
653*c7ca977eSAlexander Kabaev
654*c7ca977eSAlexander Kabaev2004-09-17  Zack Weinberg  <[email protected]>
655*c7ca977eSAlexander Kabaev
656*c7ca977eSAlexander Kabaev	* charset.c (_cpp_destroy_iconv, emit_numeric_escape)
657*c7ca977eSAlexander Kabaev	(_cpp_convert_input, _cpp_default_encoding): Add comments.
658*c7ca977eSAlexander Kabaev	Some other comments in this file also tweaked.
659*c7ca977eSAlexander Kabaev
660*c7ca977eSAlexander Kabaev	* directives.c (do_pragma): Save current buffer position
661*c7ca977eSAlexander Kabaev	before lexing the pragma keywords; don't call
662*c7ca977eSAlexander Kabaev	_cpp_backup_tokens in the defer_pragmas case.
663*c7ca977eSAlexander Kabaev
664*c7ca977eSAlexander Kabaev2004-09-15  Per Bothner  <[email protected]>
665*c7ca977eSAlexander Kabaev
666*c7ca977eSAlexander Kabaev	* include/line-map.h (line_map_start):  Add parameter names so
667*c7ca977eSAlexander Kabaev	preceding comment makes sense.
668*c7ca977eSAlexander Kabaev	(linemap_add):  Remove from comment mention of non-existing parameter.
669*c7ca977eSAlexander Kabaev
670*c7ca977eSAlexander Kabaev2004-09-09  Matt Austern  <[email protected]>
671*c7ca977eSAlexander Kabaev	    Zack Weinberg  <[email protected]>
672*c7ca977eSAlexander Kabaev
673*c7ca977eSAlexander Kabaev	* include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_
674*c7ca977eSAlexander Kabaev	prefixes throughout.  Add entry for PRAGMA.  Remove
675*c7ca977eSAlexander Kabaev	unnecessary "= 0" from EQ.
676*c7ca977eSAlexander Kabaev	(enum cpp_ttype): Adjust OP and TK definitions to restore
677*c7ca977eSAlexander Kabaev	prefixes, via token-paste.
678*c7ca977eSAlexander Kabaev	(CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP):
679*c7ca977eSAlexander Kabaev	Change from #defines to additional cpp_ttype enumerators.
680*c7ca977eSAlexander Kabaev	(struct cpp_options): Add defer_pragmas.
681*c7ca977eSAlexander Kabaev	(cpp_handle_deferred_pragma): Prototype new interface.
682*c7ca977eSAlexander Kabaev
683*c7ca977eSAlexander Kabaev	* internal.h (struct cpp_reader): Add directive_result.
684*c7ca977eSAlexander Kabaev	* directives.c (struct pragma_entry): Add is_internal field;
685*c7ca977eSAlexander Kabaev	give boolean fields type bool.
686*c7ca977eSAlexander Kabaev	(start_directive): Initialize pfile->directive_result.type.
687*c7ca977eSAlexander Kabaev	(_cpp_do__Pragma): Likewise.
688*c7ca977eSAlexander Kabaev	(run_directive): Do not crash if pfile->buffer->prev is NULL.
689*c7ca977eSAlexander Kabaev	(insert_pragma_entry): Add 'internal' argument; set new->is_internal
690*c7ca977eSAlexander Kabaev	from it.
691*c7ca977eSAlexander Kabaev	(register_pragma): New static function, bulk of former
692*c7ca977eSAlexander Kabaev	cpp_register_pragma here; add 'internal' argument, pass along
693*c7ca977eSAlexander Kabaev	to insert_pragma_entry.
694*c7ca977eSAlexander Kabaev	(cpp_register_pragma): Now a wrapper around register_pragma which
695*c7ca977eSAlexander Kabaev	always passes false for 'internal' argument.
696*c7ca977eSAlexander Kabaev	(_cpp_init_internal_pragmas): Call register_pragma directly, passing
697*c7ca977eSAlexander Kabaev	true for 'internal'.
698*c7ca977eSAlexander Kabaev	(do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't
699*c7ca977eSAlexander Kabaev	an internal pragma, save text till the end of the line as a CPP_PRAGMA
700*c7ca977eSAlexander Kabaev	token instead of executing the pragma.
701*c7ca977eSAlexander Kabaev	(cpp_handle_deferred_pragma): New interface.
702*c7ca977eSAlexander Kabaev	* lex.c (token_spellings): Adjust OP and TK definitions to
703*c7ca977eSAlexander Kabaev	match changes to cpplib.h.
704*c7ca977eSAlexander Kabaev	(_cpp_lex_token): Check for a directive-result token and
705*c7ca977eSAlexander Kabaev	return it if present.
706*c7ca977eSAlexander Kabaev	(cpp_token_val_index): Handle CPP_PRAGMA.
707*c7ca977eSAlexander Kabaev	* macro.c (cpp_builtin_macro_text): Correct comment.
708*c7ca977eSAlexander Kabaev	(builtin_macro): Handle directive-result tokens from _cpp_do__Pragma.
709*c7ca977eSAlexander Kabaev
710*c7ca977eSAlexander Kabaev2004-09-06  Serge Belyshev  <[email protected]>
711*c7ca977eSAlexander Kabaev
712*c7ca977eSAlexander Kabaev	PR preprocessor/14699
713*c7ca977eSAlexander Kabaev	* symtab.c (ht_dump_statistics): Change type of sum_of_squares
714*c7ca977eSAlexander Kabaev	from size_t to double.
715*c7ca977eSAlexander Kabaev
716*c7ca977eSAlexander Kabaev2004-08-28  Andreas Schwab  <[email protected]>
717*c7ca977eSAlexander Kabaev	    Andreas Jaeger <[email protected]>
718*c7ca977eSAlexander Kabaev
719*c7ca977eSAlexander Kabaev	* configure.ac: Set PACKAGE correctly.
720*c7ca977eSAlexander Kabaev	* configure: Regenerated.
721*c7ca977eSAlexander Kabaev
722*c7ca977eSAlexander Kabaev2004-08-25  Paolo Bonzini  <[email protected]>
723*c7ca977eSAlexander Kabaev
724*c7ca977eSAlexander Kabaev	* Makefile.in: Add back top_builddir.
725*c7ca977eSAlexander Kabaev
726*c7ca977eSAlexander Kabaev2004-08-25  Paolo Bonzini  <[email protected]>
727*c7ca977eSAlexander Kabaev
728*c7ca977eSAlexander Kabaev	* configure.ac: Replace Automake macro invocations
729*c7ca977eSAlexander Kabaev	with manual Autoconf checks and substitutions.
730*c7ca977eSAlexander Kabaev	* configure: Regenerate.
731*c7ca977eSAlexander Kabaev	* aclocal.m4: Regenerate.
732*c7ca977eSAlexander Kabaev	* config.in: Regenerate.
733*c7ca977eSAlexander Kabaev	* Makefile.am: Removed.
734*c7ca977eSAlexander Kabaev	* Makefile.in: Heavy simplification and reorganization.
735*c7ca977eSAlexander Kabaev
736*c7ca977eSAlexander Kabaev2004-08-09  Mark Mitchell  <[email protected]>
737*c7ca977eSAlexander Kabaev
738*c7ca977eSAlexander Kabaev	* configure.ac (arm*-*-eabi*): New target.
739*c7ca977eSAlexander Kabaev	(arm*-*-symbianelf*): Likewise.
740*c7ca977eSAlexander Kabaev	* configure: Regenerated.
741*c7ca977eSAlexander Kabaev
742*c7ca977eSAlexander Kabaev2004-07-24  Bernardo Innocenti  <[email protected]>
743*c7ca977eSAlexander Kabaev
744*c7ca977eSAlexander Kabaev	* internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove.
745*c7ca977eSAlexander Kabaev	* directives.c: Use XNEW-family macros from libiberty.
746*c7ca977eSAlexander Kabaev	* lex.c: Likewise.
747*c7ca977eSAlexander Kabaev	* macro.c: Likewise.
748*c7ca977eSAlexander Kabaev	* cpplib.h (cpp_deps_style): Export enum with name.
749*c7ca977eSAlexander Kabaev
750*c7ca977eSAlexander Kabaev2004-07-23  Matthias Klose  <[email protected]>
751*c7ca977eSAlexander Kabaev
752*c7ca977eSAlexander Kabaev	* init.c (init_library): Use PACKAGE for the text domain.
753*c7ca977eSAlexander Kabaev
754*c7ca977eSAlexander Kabaev2004-07-16  Andris Pavenis  <[email protected]>
755*c7ca977eSAlexander Kabaev
756*c7ca977eSAlexander Kabaev	PR preprocessor/16366
757*c7ca977eSAlexander Kabaev	* internal.h (struct cpp_reader): New field dir_hash.
758*c7ca977eSAlexander Kabaev	* files.c (make_cpp_dir): Use dir_hash, not file_hash.
759*c7ca977eSAlexander Kabaev	(_cpp_init_files, _cpp_cleanup_files): Update for new field.
760*c7ca977eSAlexander Kabaev
761*c7ca977eSAlexander Kabaev2004-07-04  Neil Booth  <[email protected]>
762*c7ca977eSAlexander Kabaev
763*c7ca977eSAlexander Kabaev	PR preprocessor/16192
764*c7ca977eSAlexander Kabaev	PR preprocessor/15913
765*c7ca977eSAlexander Kabaev	PR preprocessor/15572
766*c7ca977eSAlexander Kabaev	* expr.c (_cpp_parse_expr): Handle remaining cases where an
767*c7ca977eSAlexander Kabaev	expression is missing.
768*c7ca977eSAlexander Kabaev	* init.c (post_options): Traditional cpp doesn't do // comments.
769*c7ca977eSAlexander Kabaev
770*c7ca977eSAlexander Kabaev2004-06-30  Per Bothner  <[email protected]>
771*c7ca977eSAlexander Kabaev
772*c7ca977eSAlexander Kabaev	* include/line-map.h (fileline):  Remove old typedef.
773*c7ca977eSAlexander Kabaev	* internal.h (struct cpp_reader):  Use source_location typedef instead.
774*c7ca977eSAlexander Kabaev
775*c7ca977eSAlexander Kabaev2004-06-26  Zack Weinberg  <[email protected]>
776*c7ca977eSAlexander Kabaev
777*c7ca977eSAlexander Kabaev	Partially revert patch of 2004-06-05.
778*c7ca977eSAlexander Kabaev	* files.c (search_cache): Remove pfile argument.  Don't check
779*c7ca977eSAlexander Kabaev	for file that would be found by "" or <> search here...
780*c7ca977eSAlexander Kabaev	(_cpp_find_file): ...do it here, before calling find_file_in_dir.
781*c7ca977eSAlexander Kabaev	Do not apply directory-of-current-file correction to files
782*c7ca977eSAlexander Kabaev	found by this check.  Rearrange code slightly.
783*c7ca977eSAlexander Kabaev
784*c7ca977eSAlexander Kabaev2004-06-21  Geoffrey Keating  <[email protected]>
785*c7ca977eSAlexander Kabaev
786*c7ca977eSAlexander Kabaev	* files.c (should_stack_file): Correct swapped parameters to call
787*c7ca977eSAlexander Kabaev	to cb.read_pch.
788*c7ca977eSAlexander Kabaev	* pch.c (cpp_valid_state): Handle -fpreprocessed.
789*c7ca977eSAlexander Kabaev
790*c7ca977eSAlexander Kabaev2004-06-15  Paolo Bonzini  <[email protected]>
791*c7ca977eSAlexander Kabaev
792*c7ca977eSAlexander Kabaev	* Makefile.in: Regenerate with automake 1.8.5.
793*c7ca977eSAlexander Kabaev	* aclocal.m4: Likewise.
794*c7ca977eSAlexander Kabaev	* configure: Regenerate.
795*c7ca977eSAlexander Kabaev
796*c7ca977eSAlexander Kabaev2004-06-11  Zack Weinberg  <[email protected]>
797*c7ca977eSAlexander Kabaev
798*c7ca977eSAlexander Kabaev	* configure.ac: Don't invoke ACX_HEADER_STDBOOL.
799*c7ca977eSAlexander Kabaev	* configure, config.in: Regenerate.
800*c7ca977eSAlexander Kabaev	* system.h: Unconditionally define bool as unsigned char,
801*c7ca977eSAlexander Kabaev	BOOL_BITFIELD as unsigned int.
802*c7ca977eSAlexander Kabaev	* .cvsignore: New file.
803*c7ca977eSAlexander Kabaev
804*c7ca977eSAlexander Kabaev2004-06-09  Geoffrey Keating  <[email protected]>
805*c7ca977eSAlexander Kabaev
806*c7ca977eSAlexander Kabaev	* traditional.c (push_replacement_text): Set macro->traditional.
807*c7ca977eSAlexander Kabaev	(save_replacement_text): Likewise.
808*c7ca977eSAlexander Kabaev	* pch.c (cpp_write_pch_state): Don't write list of defined macros.
809*c7ca977eSAlexander Kabaev	(struct save_macro_item): Delete.
810*c7ca977eSAlexander Kabaev	(struct save_macro_data): Use a character array not the previous
811*c7ca977eSAlexander Kabaev	structured format.
812*c7ca977eSAlexander Kabaev	(save_macros): Save macro as text not as internal structures.
813*c7ca977eSAlexander Kabaev	(cpp_prepare_state): Update for changes to save_macro_data.
814*c7ca977eSAlexander Kabaev	(cpp_read_state): Don't read macros defined in PCH.  Restore
815*c7ca977eSAlexander Kabaev	-D macros as text.
816*c7ca977eSAlexander Kabaev	* macro.c (create_iso_definition): Honour alloc_subobject.
817*c7ca977eSAlexander Kabaev	Clear traditional flag.
818*c7ca977eSAlexander Kabaev	(_cpp_create_definition): Honour alloc_subobject.
819*c7ca977eSAlexander Kabaev	* lex.c (cpp_token_val_index): New.
820*c7ca977eSAlexander Kabaev	* internal.h: Include cpp-id-data.h.
821*c7ca977eSAlexander Kabaev	(uchar): Move definition to cpp-id-data.h.
822*c7ca977eSAlexander Kabaev	(U): Likewise.
823*c7ca977eSAlexander Kabaev	(cpp_macro): Likewise.
824*c7ca977eSAlexander Kabaev	* directives.c (struct answer): Move to cpp-id-data.h.
825*c7ca977eSAlexander Kabaev	(do_assert): Honour alloc_subobject.
826*c7ca977eSAlexander Kabaev
827*c7ca977eSAlexander Kabaev	* include/symtab.h (struct ht): Add field 'alloc_subobject'.
828*c7ca977eSAlexander Kabaev	* include/cpplib.h (struct cpp_string): Add GTY marker.
829*c7ca977eSAlexander Kabaev	(enum cpp_token_fld_kind): New.
830*c7ca977eSAlexander Kabaev	(struct cpp_token): Add GTY markers.
831*c7ca977eSAlexander Kabaev	(cpp_token_val_index): Prototype.
832*c7ca977eSAlexander Kabaev	(CPP_HASHNODE_VALUE_IDX): New.
833*c7ca977eSAlexander Kabaev	(struct cpp_hashnode): Don't skip fields of 'value' when marking.
834*c7ca977eSAlexander Kabaev	* include/cpp-id-data.h: New file.
835*c7ca977eSAlexander Kabaev
836*c7ca977eSAlexander Kabaev2004-06-09  Paolo Bonzini  <[email protected]>
837*c7ca977eSAlexander Kabaev
838*c7ca977eSAlexander Kabaev	* Makefile.am (all-local): New.
839*c7ca977eSAlexander Kabaev	* Makefile.in: Regenerate.
840*c7ca977eSAlexander Kabaev
841*c7ca977eSAlexander Kabaev2004-06-06  Roger Sayle  <[email protected]>
842*c7ca977eSAlexander Kabaev
843*c7ca977eSAlexander Kabaev	* Makefile.am (LIBICONV): Declare.
844*c7ca977eSAlexander Kabaev	(makedepend_LDADD): Use LIBICONV.
845*c7ca977eSAlexander Kabaev	* Makefile.in: Regenerate.
846*c7ca977eSAlexander Kabaev
847*c7ca977eSAlexander Kabaev2004-06-05  Andrew Pinski  <[email protected]>
848*c7ca977eSAlexander Kabaev
849*c7ca977eSAlexander Kabaev	* Makefile.am (LIBINTL): Declare
850*c7ca977eSAlexander Kabaev	(makedepend_LDADD): Use LIBINTL.
851*c7ca977eSAlexander Kabaev	* Makefile.in: Regenerate.
852*c7ca977eSAlexander Kabaev
853*c7ca977eSAlexander Kabaev2004-06-05  Zack Weinberg  <[email protected]>
854*c7ca977eSAlexander Kabaev
855*c7ca977eSAlexander Kabaev	* Makefile.am: Add makedepend.
856*c7ca977eSAlexander Kabaev	* Makefile.in, aclocal.m4: Regenerate.
857*c7ca977eSAlexander Kabaev	* charset.c: Insert a space to avoid a warning.
858*c7ca977eSAlexander Kabaev	* directives.c: Include mkdeps.h.
859*c7ca977eSAlexander Kabaev	(_cpp_handle_directive): Reenable macro expander if appropriate.
860*c7ca977eSAlexander Kabaev	(undefine_macros): Inline body of _cpp_free_definition for speed.
861*c7ca977eSAlexander Kabaev	Do not call undef callback or _cpp_warn_if_unused_macro.
862*c7ca977eSAlexander Kabaev	(cpp_get_deps): New interface.
863*c7ca977eSAlexander Kabaev	* files.c (search_cache): Add pfile argument.  Check for file
864*c7ca977eSAlexander Kabaev	that would be found by "" or <> search here...
865*c7ca977eSAlexander Kabaev	(_cpp_find_file): ...not here.  Correct recorded start_dir of
866*c7ca977eSAlexander Kabaev	files found by directory-of-current-file search that would be
867*c7ca977eSAlexander Kabaev	found by "" or <> search.
868*c7ca977eSAlexander Kabaev	* init.c (cpp_add_dependency_target): Delete.
869*c7ca977eSAlexander Kabaev	* internal.h (struct lexer_state): Add discarding_output flag.
870*c7ca977eSAlexander Kabaev	* lex.c (lex_identifier): Compute hash function while scanning.
871*c7ca977eSAlexander Kabaev	* macro.c (cpp_scan_nooutput): Disable macro expansion outside
872*c7ca977eSAlexander Kabaev	directives.
873*c7ca977eSAlexander Kabaev	* makedepend.c: New file.
874*c7ca977eSAlexander Kabaev	* mkdeps.c (struct deps): Add vpath vector.
875*c7ca977eSAlexander Kabaev	(apply_vpath, deps_add_vpath): New function.
876*c7ca977eSAlexander Kabaev	(deps_free): Free vpath vector.
877*c7ca977eSAlexander Kabaev	(deps_add_dep, deps_add_target): Use apply_vpath.
878*c7ca977eSAlexander Kabaev	* symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
879*c7ca977eSAlexander Kabaev	(ht_lookup_with_hash): New function.
880*c7ca977eSAlexander Kabaev	* cpplib.h, mkdeps.h: Update prototypes.
881*c7ca977eSAlexander Kabaev	* symtab.h: Update prototypes.
882*c7ca977eSAlexander Kabaev	(HT_HASHSTEP, HT_FINISH): New macros.
883*c7ca977eSAlexander Kabaev
884*c7ca977eSAlexander Kabaev2004-05-29  Geoffrey Keating  <[email protected]>
885*c7ca977eSAlexander Kabaev
886*c7ca977eSAlexander Kabaev	* symtab.c (ht_create): Set entries_owned.
887*c7ca977eSAlexander Kabaev	(ht_destroy): Honour entries_owned.
888*c7ca977eSAlexander Kabaev	(ht_expand): Likewise.
889*c7ca977eSAlexander Kabaev	(ht_load): New.
890*c7ca977eSAlexander Kabaev	* include/symtab.h (struct ht): New field 'entries_owned'
891*c7ca977eSAlexander Kabaev	(ht_load): New prototype.
892*c7ca977eSAlexander Kabaev
893*c7ca977eSAlexander Kabaev2004-05-26  Paolo Bonzini  <[email protected]>
894*c7ca977eSAlexander Kabaev
895*c7ca977eSAlexander Kabaev	PR bootstrap/15651
896*c7ca977eSAlexander Kabaev	* configure.ac: Fix m4 quoting when picking
897*c7ca977eSAlexander Kabaev	the size of HOST_WIDE_INT.
898*c7ca977eSAlexander Kabaev	* configure: Regenerate.
899*c7ca977eSAlexander Kabaev
900*c7ca977eSAlexander Kabaev2004-05-25  Paolo Bonzini  <[email protected]>
901*c7ca977eSAlexander Kabaev
902*c7ca977eSAlexander Kabaev	* Makefile.am: the correct directory for
903*c7ca977eSAlexander Kabaev	gettext include files is given by @INCINTL@.
904*c7ca977eSAlexander Kabaev	* Makefile.in: Regenerate.
905*c7ca977eSAlexander Kabaev
906*c7ca977eSAlexander Kabaev2004-05-24  Paolo Bonzini  <[email protected]>
907*c7ca977eSAlexander Kabaev
908*c7ca977eSAlexander Kabaev	* system.h [!ENABLE_NLS]: dgettext takes two
909*c7ca977eSAlexander Kabaev	parameters.
910*c7ca977eSAlexander Kabaev
911*c7ca977eSAlexander Kabaev2004-05-23  Paolo Bonzini  <[email protected]>
912*c7ca977eSAlexander Kabaev
913*c7ca977eSAlexander Kabaev	Moved libcpp from the gcc subdirectory to the toplevel.
914*c7ca977eSAlexander Kabaev	* Makefile.am: New file.
915*c7ca977eSAlexander Kabaev	* Makefile.in: Regenerate.
916*c7ca977eSAlexander Kabaev	* configure.ac: New file.
917*c7ca977eSAlexander Kabaev	* configure: Regenerate.
918*c7ca977eSAlexander Kabaev	* config.in: Regenerate.
919*c7ca977eSAlexander Kabaev	* charset.c: Moved from gcc/cppcharset.c.  Add note about
920*c7ca977eSAlexander Kabaev	brokenness of input charset detection.  Adjust for change
921*c7ca977eSAlexander Kabaev	in name of cppucnid.h.
922*c7ca977eSAlexander Kabaev	* errors.c: Moved from gcc/cpperror.c.  Do not include intl.h.
923*c7ca977eSAlexander Kabaev	* expr.c: Moved from gcc/cppexp.c.
924*c7ca977eSAlexander Kabaev	* files.c: Moved from gcc/cppfiles.c.  Do not include intl.h.
925*c7ca977eSAlexander Kabaev	Remove #define of O_BINARY, it is in system.h.
926*c7ca977eSAlexander Kabaev	* identifiers.c: Moved from gcc/cpphash.c.
927*c7ca977eSAlexander Kabaev	* internal.h: Moved from gcc/cpphash.h.  Change header
928*c7ca977eSAlexander Kabaev	guard name.  All other files adjusted to match name change.
929*c7ca977eSAlexander Kabaev	* init.c: Moved from gcc/cppinit.c.
930*c7ca977eSAlexander Kabaev	(init_library) [ENABLE_NLS]: Call bindtextdomain.
931*c7ca977eSAlexander Kabaev	* lex.c: Moved from gcc/cpplex.c.
932*c7ca977eSAlexander Kabaev	* directives.c: Moved from gcc/cpplib.c.
933*c7ca977eSAlexander Kabaev	* macro.c: Moved from gcc/cppmacro.c.
934*c7ca977eSAlexander Kabaev	* pch.c: Moved from gcc/cpppch.c.  Do not include intl.h.
935*c7ca977eSAlexander Kabaev	* traditional.c: Moved from gcc/cpptrad.c.
936*c7ca977eSAlexander Kabaev	* ucnid.h: Moved from gcc/cppucnid.h.  Change header
937*c7ca977eSAlexander Kabaev	guard name.
938*c7ca977eSAlexander Kabaev	* ucnid.pl: Moved from gcc/cppucnid.pl.
939*c7ca977eSAlexander Kabaev	* ucnid.tab: Moved from gcc/cppucnid.tab.  Change header
940*c7ca977eSAlexander Kabaev	guard name.
941*c7ca977eSAlexander Kabaev	* symtab.c: Moved from gcc/hashtable.c.
942*c7ca977eSAlexander Kabaev	* line-map.c: Moved from gcc.  Do not include intl.h.
943*c7ca977eSAlexander Kabaev	* mkdeps.c: Moved from gcc.
944*c7ca977eSAlexander Kabaev	* system.h: New file.
945*c7ca977eSAlexander Kabaev	* include/cpplib.h: Moved from gcc.  Change header guard name.
946*c7ca977eSAlexander Kabaev	* include/line-map.h: Moved from gcc.  Change header guard name.
947*c7ca977eSAlexander Kabaev	* include/mkdeps.h: Moved from gcc.  Change header guard name.
948*c7ca977eSAlexander Kabaev	* include/symtab.h: Moved from gcc/hashtable.h.  Change header
949*c7ca977eSAlexander Kabaev	guard name.
950