]> git.ipfire.org Git - thirdparty/gcc.git/blame - libcpp/ChangeLog
restore missing changelog entry
[thirdparty/gcc.git] / libcpp / ChangeLog
CommitLineData
25696d3f 12004-08-28 Andreas Schwab <schwab@suse.de>
2 Andreas Jaeger <aj@suse.de>
3
4 * configure.ac: Set PACKAGE correctly.
5 * configure: Regenerated.
6
99439f5b 72004-08-25 Paolo Bonzini <bonzini@gnu.org>
8
9 * Makefile.in: Add back top_builddir.
10
a668be26 112004-08-25 Paolo Bonzini <bonzini@gnu.org>
12
13 * configure.ac: Replace Automake macro invocations
14 with manual Autoconf checks and substitutions.
15 * configure: Regenerate.
16 * aclocal.m4: Regenerate.
17 * config.in: Regenerate.
18 * Makefile.am: Removed.
19 * Makefile.in: Heavy simplification and reorganization.
20
30e9913f 212004-08-09 Mark Mitchell <mark@codesourcery.com>
22
23 * configure.ac (arm*-*-eabi*): New target.
24 (arm*-*-symbianelf*): Likewise.
25 * configure: Regenerated.
26
3b298764 272004-07-24 Bernardo Innocenti <bernie@develer.com>
28
29 * internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove.
30 * directives.c: Use XNEW-family macros from libiberty.
31 * lex.c: Likewise.
32 * macro.c: Likewise.
33 * cpplib.h (cpp_deps_style): Export enum with name.
34
1ed7d058 352004-07-23 Matthias Klose <doko@debian.org>
3b298764 36
a668be26 37 * init.c (init_library): Use PACKAGE for the text domain.
1ed7d058 38
821fa045 392004-07-16 Andris Pavenis <pavenis@latnet.lv>
40
41 PR preprocessor/16366
42 * internal.h (struct cpp_reader): New field dir_hash.
43 * files.c (make_cpp_dir): Use dir_hash, not file_hash.
44 (_cpp_init_files, _cpp_cleanup_files): Update for new field.
45
d80efa72 462004-07-04 Neil Booth <neil@duron.akihabara.co.uk>
47
48 PR preprocessor/16192
49 PR preprocessor/15913
50 PR preprocessor/15572
51 * expr.c (_cpp_parse_expr): Handle remaining cases where an
52 expression is missing.
53 * init.c (post_options): Traditional cpp doesn't do // comments.
54
ed000086 552004-06-30 Per Bothner <per@bothner.com>
56
57 * include/line-map.h (fileline): Remove old typedef.
58 * internal.h (struct cpp_reader): Use source_location typedef instead.
59
dcb9d064 602004-06-26 Zack Weinberg <zack@codesourcery.com>
61
62 Partially revert patch of 2004-06-05.
63 * files.c (search_cache): Remove pfile argument. Don't check
64 for file that would be found by "" or <> search here...
65 (_cpp_find_file): ...do it here, before calling find_file_in_dir.
66 Do not apply directory-of-current-file correction to files
67 found by this check. Rearrange code slightly.
68
d718b525 692004-06-21 Geoffrey Keating <geoffk@apple.com>
70
71 * files.c (should_stack_file): Correct swapped parameters to call
72 to cb.read_pch.
73 * pch.c (cpp_valid_state): Handle -fpreprocessed.
74
79b68529 752004-06-15 Paolo Bonzini <bonzini@gnu.org>
76
77 * Makefile.in: Regenerate with automake 1.8.5.
78 * aclocal.m4: Likewise.
79 * configure: Regenerate.
80
151899c5 812004-06-11 Zack Weinberg <zack@codesourcery.com>
82
83 * configure.ac: Don't invoke ACX_HEADER_STDBOOL.
84 * configure, config.in: Regenerate.
85 * system.h: Unconditionally define bool as unsigned char,
86 BOOL_BITFIELD as unsigned int.
87 * .cvsignore: New file.
88
c39ed964 892004-06-09 Geoffrey Keating <geoffk@apple.com>
90
91 * traditional.c (push_replacement_text): Set macro->traditional.
92 (save_replacement_text): Likewise.
93 * pch.c (cpp_write_pch_state): Don't write list of defined macros.
94 (struct save_macro_item): Delete.
95 (struct save_macro_data): Use a character array not the previous
96 structured format.
97 (save_macros): Save macro as text not as internal structures.
98 (cpp_prepare_state): Update for changes to save_macro_data.
99 (cpp_read_state): Don't read macros defined in PCH. Restore
c84ca916 100 -D macros as text.
c39ed964 101 * macro.c (create_iso_definition): Honour alloc_subobject.
102 Clear traditional flag.
103 (_cpp_create_definition): Honour alloc_subobject.
104 * lex.c (cpp_token_val_index): New.
105 * internal.h: Include cpp-id-data.h.
106 (uchar): Move definition to cpp-id-data.h.
107 (U): Likewise.
108 (cpp_macro): Likewise.
109 * directives.c (struct answer): Move to cpp-id-data.h.
110 (do_assert): Honour alloc_subobject.
c84ca916 111
112 * include/symtab.h (struct ht): Add field 'alloc_subobject'.
113 * include/cpplib.h (struct cpp_string): Add GTY marker.
114 (enum cpp_token_fld_kind): New.
115 (struct cpp_token): Add GTY markers.
116 (cpp_token_val_index): Prototype.
117 (CPP_HASHNODE_VALUE_IDX): New.
118 (struct cpp_hashnode): Don't skip fields of 'value' when marking.
119 * include/cpp-id-data.h: New file.
c39ed964 120
dd6e5561 1212004-06-09 Paolo Bonzini <bonzini@gnu.org>
122
123 * Makefile.am (all-local): New.
124 * Makefile.in: Regenerate.
125
8af0c78d 1262004-06-06 Roger Sayle <roger@eyesopen.com>
127
128 * Makefile.am (LIBICONV): Declare.
129 (makedepend_LDADD): Use LIBICONV.
130 * Makefile.in: Regenerate.
131
30302733 1322004-06-05 Andrew Pinski <pinskia@physics.uc.edu>
133
134 * Makefile.am (LIBINTL): Declare
135 (makedepend_LDADD): Use LIBINTL.
136 * Makefile.in: Regenerate.
137
3eb3f293 1382004-06-05 Zack Weinberg <zack@codesourcery.com>
139
140 * Makefile.am: Add makedepend.
141 * Makefile.in, aclocal.m4: Regenerate.
142 * charset.c: Insert a space to avoid a warning.
143 * directives.c: Include mkdeps.h.
144 (_cpp_handle_directive): Reenable macro expander if appropriate.
145 (undefine_macros): Inline body of _cpp_free_definition for speed.
146 Do not call undef callback or _cpp_warn_if_unused_macro.
147 (cpp_get_deps): New interface.
148 * files.c (search_cache): Add pfile argument. Check for file
149 that would be found by "" or <> search here...
150 (_cpp_find_file): ...not here. Correct recorded start_dir of
151 files found by directory-of-current-file search that would be
152 found by "" or <> search.
153 * init.c (cpp_add_dependency_target): Delete.
154 * internal.h (struct lexer_state): Add discarding_output flag.
155 * lex.c (lex_identifier): Compute hash function while scanning.
156 * macro.c (cpp_scan_nooutput): Disable macro expansion outside
157 directives.
158 * makedepend.c: New file.
159 * mkdeps.c (struct deps): Add vpath vector.
160 (apply_vpath, deps_add_vpath): New function.
161 (deps_free): Free vpath vector.
162 (deps_add_dep, deps_add_target): Use apply_vpath.
163 * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
164 (ht_lookup_with_hash): New function.
165 * cpplib.h, mkdeps.h: Update prototypes.
166 * symtab.h: Update prototypes.
167 (HT_HASHSTEP, HT_FINISH): New macros.
168
8ed01400 1692004-05-29 Geoffrey Keating <geoffk@apple.com>
170
171 * symtab.c (ht_create): Set entries_owned.
172 (ht_destroy): Honour entries_owned.
173 (ht_expand): Likewise.
174 (ht_load): New.
c84ca916 175 * include/symtab.h (struct ht): New field 'entries_owned'
176 (ht_load): New prototype.
8ed01400 177
347a3ab5 1782004-05-26 Paolo Bonzini <bonzini@gnu.org>
179
180 PR bootstrap/15651
181 * configure.ac: Fix m4 quoting when picking
182 the size of HOST_WIDE_INT.
183 * configure: Regenerate.
184
fc231f28 1852004-05-25 Paolo Bonzini <bonzini@gnu.org>
186
187 * Makefile.am: the correct directory for
188 gettext include files is given by @INCINTL@.
189 * Makefile.in: Regenerate.
190
babfbd63 1912004-05-24 Paolo Bonzini <bonzini@gnu.org>
192
193 * system.h [!ENABLE_NLS]: dgettext takes two
194 parameters.
195
d856c8a6 1962004-05-23 Paolo Bonzini <bonzini@gnu.org>
197
198 Moved libcpp from the gcc subdirectory to the toplevel.
199 * Makefile.am: New file.
200 * Makefile.in: Regenerate.
201 * configure.ac: New file.
202 * configure: Regenerate.
203 * config.in: Regenerate.
204 * charset.c: Moved from gcc/cppcharset.c. Add note about
205 brokenness of input charset detection. Adjust for change
206 in name of cppucnid.h.
207 * errors.c: Moved from gcc/cpperror.c. Do not include intl.h.
208 * expr.c: Moved from gcc/cppexp.c.
209 * files.c: Moved from gcc/cppfiles.c. Do not include intl.h.
210 Remove #define of O_BINARY, it is in system.h.
211 * identifiers.c: Moved from gcc/cpphash.c.
212 * internal.h: Moved from gcc/cpphash.h. Change header
213 guard name. All other files adjusted to match name change.
214 * init.c: Moved from gcc/cppinit.c.
215 (init_library) [ENABLE_NLS]: Call bindtextdomain.
216 * lex.c: Moved from gcc/cpplex.c.
217 * directives.c: Moved from gcc/cpplib.c.
218 * macro.c: Moved from gcc/cppmacro.c.
219 * pch.c: Moved from gcc/cpppch.c. Do not include intl.h.
220 * traditional.c: Moved from gcc/cpptrad.c.
221 * ucnid.h: Moved from gcc/cppucnid.h. Change header
222 guard name.
223 * ucnid.pl: Moved from gcc/cppucnid.pl.
224 * ucnid.tab: Moved from gcc/cppucnid.tab. Change header
225 guard name.
226 * symtab.c: Moved from gcc/hashtable.c.
227 * line-map.c: Moved from gcc. Do not include intl.h.
228 * mkdeps.c: Moved from gcc.
229 * system.h: New file.
c84ca916 230 * include/cpplib.h: Moved from gcc. Change header guard name.
231 * include/line-map.h: Moved from gcc. Change header guard name.
232 * include/mkdeps.h: Moved from gcc. Change header guard name.
233 * include/symtab.h: Moved from gcc/hashtable.h. Change header
234 guard name.