]> git.ipfire.org Git - thirdparty/gcc.git/blame - libcpp/ChangeLog
cse.c (cse_around_loop, [...]): Remove.
[thirdparty/gcc.git] / libcpp / ChangeLog
CommitLineData
078e3ffe
PB
12004-08-25 Paolo Bonzini <bonzini@gnu.org>
2
3 * configure.ac: Replace Automake macro invocations
4 with manual Autoconf checks and substitutions.
5 * configure: Regenerate.
6 * aclocal.m4: Regenerate.
7 * config.in: Regenerate.
8 * Makefile.am: Removed.
9 * Makefile.in: Heavy simplification and reorganization.
10
b3f8d95d
MM
112004-08-09 Mark Mitchell <mark@codesourcery.com>
12
13 * configure.ac (arm*-*-eabi*): New target.
14 (arm*-*-symbianelf*): Likewise.
15 * configure: Regenerated.
16
72bb2c39
BI
172004-07-24 Bernardo Innocenti <bernie@develer.com>
18
19 * internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove.
20 * directives.c: Use XNEW-family macros from libiberty.
21 * lex.c: Likewise.
22 * macro.c: Likewise.
23 * cpplib.h (cpp_deps_style): Export enum with name.
24
85eac2a0 252004-07-23 Matthias Klose <doko@debian.org>
72bb2c39 26
078e3ffe 27 * init.c (init_library): Use PACKAGE for the text domain.
85eac2a0 28
a23ee064
AP
292004-07-16 Andris Pavenis <pavenis@latnet.lv>
30
31 PR preprocessor/16366
32 * internal.h (struct cpp_reader): New field dir_hash.
33 * files.c (make_cpp_dir): Use dir_hash, not file_hash.
34 (_cpp_init_files, _cpp_cleanup_files): Update for new field.
35
a09d4744
NB
362004-07-04 Neil Booth <neil@duron.akihabara.co.uk>
37
38 PR preprocessor/16192
39 PR preprocessor/15913
40 PR preprocessor/15572
41 * expr.c (_cpp_parse_expr): Handle remaining cases where an
42 expression is missing.
43 * init.c (post_options): Traditional cpp doesn't do // comments.
44
f58f7def
PB
452004-06-30 Per Bothner <per@bothner.com>
46
47 * include/line-map.h (fileline): Remove old typedef.
48 * internal.h (struct cpp_reader): Use source_location typedef instead.
49
e83d8d43
ZW
502004-06-26 Zack Weinberg <zack@codesourcery.com>
51
52 Partially revert patch of 2004-06-05.
53 * files.c (search_cache): Remove pfile argument. Don't check
54 for file that would be found by "" or <> search here...
55 (_cpp_find_file): ...do it here, before calling find_file_in_dir.
56 Do not apply directory-of-current-file correction to files
57 found by this check. Rearrange code slightly.
58
c0d578e6
GK
592004-06-21 Geoffrey Keating <geoffk@apple.com>
60
61 * files.c (should_stack_file): Correct swapped parameters to call
62 to cb.read_pch.
63 * pch.c (cpp_valid_state): Handle -fpreprocessed.
64
159d5224
PB
652004-06-15 Paolo Bonzini <bonzini@gnu.org>
66
67 * Makefile.in: Regenerate with automake 1.8.5.
68 * aclocal.m4: Likewise.
69 * configure: Regenerate.
70
2fac9c01
ZW
712004-06-11 Zack Weinberg <zack@codesourcery.com>
72
73 * configure.ac: Don't invoke ACX_HEADER_STDBOOL.
74 * configure, config.in: Regenerate.
75 * system.h: Unconditionally define bool as unsigned char,
76 BOOL_BITFIELD as unsigned int.
77 * .cvsignore: New file.
78
d8044160
GK
792004-06-09 Geoffrey Keating <geoffk@apple.com>
80
81 * traditional.c (push_replacement_text): Set macro->traditional.
82 (save_replacement_text): Likewise.
83 * pch.c (cpp_write_pch_state): Don't write list of defined macros.
84 (struct save_macro_item): Delete.
85 (struct save_macro_data): Use a character array not the previous
86 structured format.
87 (save_macros): Save macro as text not as internal structures.
88 (cpp_prepare_state): Update for changes to save_macro_data.
89 (cpp_read_state): Don't read macros defined in PCH. Restore
2cf22451 90 -D macros as text.
d8044160
GK
91 * macro.c (create_iso_definition): Honour alloc_subobject.
92 Clear traditional flag.
93 (_cpp_create_definition): Honour alloc_subobject.
94 * lex.c (cpp_token_val_index): New.
95 * internal.h: Include cpp-id-data.h.
96 (uchar): Move definition to cpp-id-data.h.
97 (U): Likewise.
98 (cpp_macro): Likewise.
99 * directives.c (struct answer): Move to cpp-id-data.h.
100 (do_assert): Honour alloc_subobject.
2cf22451
ZW
101
102 * include/symtab.h (struct ht): Add field 'alloc_subobject'.
103 * include/cpplib.h (struct cpp_string): Add GTY marker.
104 (enum cpp_token_fld_kind): New.
105 (struct cpp_token): Add GTY markers.
106 (cpp_token_val_index): Prototype.
107 (CPP_HASHNODE_VALUE_IDX): New.
108 (struct cpp_hashnode): Don't skip fields of 'value' when marking.
109 * include/cpp-id-data.h: New file.
d8044160 110
0ca8e815
PB
1112004-06-09 Paolo Bonzini <bonzini@gnu.org>
112
113 * Makefile.am (all-local): New.
114 * Makefile.in: Regenerate.
115
b51fa00f
RS
1162004-06-06 Roger Sayle <roger@eyesopen.com>
117
118 * Makefile.am (LIBICONV): Declare.
119 (makedepend_LDADD): Use LIBICONV.
120 * Makefile.in: Regenerate.
121
5e2f3f39
AP
1222004-06-05 Andrew Pinski <pinskia@physics.uc.edu>
123
124 * Makefile.am (LIBINTL): Declare
125 (makedepend_LDADD): Use LIBINTL.
126 * Makefile.in: Regenerate.
127
c6e83800
ZW
1282004-06-05 Zack Weinberg <zack@codesourcery.com>
129
130 * Makefile.am: Add makedepend.
131 * Makefile.in, aclocal.m4: Regenerate.
132 * charset.c: Insert a space to avoid a warning.
133 * directives.c: Include mkdeps.h.
134 (_cpp_handle_directive): Reenable macro expander if appropriate.
135 (undefine_macros): Inline body of _cpp_free_definition for speed.
136 Do not call undef callback or _cpp_warn_if_unused_macro.
137 (cpp_get_deps): New interface.
138 * files.c (search_cache): Add pfile argument. Check for file
139 that would be found by "" or <> search here...
140 (_cpp_find_file): ...not here. Correct recorded start_dir of
141 files found by directory-of-current-file search that would be
142 found by "" or <> search.
143 * init.c (cpp_add_dependency_target): Delete.
144 * internal.h (struct lexer_state): Add discarding_output flag.
145 * lex.c (lex_identifier): Compute hash function while scanning.
146 * macro.c (cpp_scan_nooutput): Disable macro expansion outside
147 directives.
148 * makedepend.c: New file.
149 * mkdeps.c (struct deps): Add vpath vector.
150 (apply_vpath, deps_add_vpath): New function.
151 (deps_free): Free vpath vector.
152 (deps_add_dep, deps_add_target): Use apply_vpath.
153 * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
154 (ht_lookup_with_hash): New function.
155 * cpplib.h, mkdeps.h: Update prototypes.
156 * symtab.h: Update prototypes.
157 (HT_HASHSTEP, HT_FINISH): New macros.
158
b453c95f
GK
1592004-05-29 Geoffrey Keating <geoffk@apple.com>
160
161 * symtab.c (ht_create): Set entries_owned.
162 (ht_destroy): Honour entries_owned.
163 (ht_expand): Likewise.
164 (ht_load): New.
2cf22451
ZW
165 * include/symtab.h (struct ht): New field 'entries_owned'
166 (ht_load): New prototype.
b453c95f 167
963e23c5
PB
1682004-05-26 Paolo Bonzini <bonzini@gnu.org>
169
170 PR bootstrap/15651
171 * configure.ac: Fix m4 quoting when picking
172 the size of HOST_WIDE_INT.
173 * configure: Regenerate.
174
0429bc77
PB
1752004-05-25 Paolo Bonzini <bonzini@gnu.org>
176
177 * Makefile.am: the correct directory for
178 gettext include files is given by @INCINTL@.
179 * Makefile.in: Regenerate.
180
c86dd7db
PB
1812004-05-24 Paolo Bonzini <bonzini@gnu.org>
182
183 * system.h [!ENABLE_NLS]: dgettext takes two
184 parameters.
185
4f4e53dd
PB
1862004-05-23 Paolo Bonzini <bonzini@gnu.org>
187
188 Moved libcpp from the gcc subdirectory to the toplevel.
189 * Makefile.am: New file.
190 * Makefile.in: Regenerate.
191 * configure.ac: New file.
192 * configure: Regenerate.
193 * config.in: Regenerate.
194 * charset.c: Moved from gcc/cppcharset.c. Add note about
195 brokenness of input charset detection. Adjust for change
196 in name of cppucnid.h.
197 * errors.c: Moved from gcc/cpperror.c. Do not include intl.h.
198 * expr.c: Moved from gcc/cppexp.c.
199 * files.c: Moved from gcc/cppfiles.c. Do not include intl.h.
200 Remove #define of O_BINARY, it is in system.h.
201 * identifiers.c: Moved from gcc/cpphash.c.
202 * internal.h: Moved from gcc/cpphash.h. Change header
203 guard name. All other files adjusted to match name change.
204 * init.c: Moved from gcc/cppinit.c.
205 (init_library) [ENABLE_NLS]: Call bindtextdomain.
206 * lex.c: Moved from gcc/cpplex.c.
207 * directives.c: Moved from gcc/cpplib.c.
208 * macro.c: Moved from gcc/cppmacro.c.
209 * pch.c: Moved from gcc/cpppch.c. Do not include intl.h.
210 * traditional.c: Moved from gcc/cpptrad.c.
211 * ucnid.h: Moved from gcc/cppucnid.h. Change header
212 guard name.
213 * ucnid.pl: Moved from gcc/cppucnid.pl.
214 * ucnid.tab: Moved from gcc/cppucnid.tab. Change header
215 guard name.
216 * symtab.c: Moved from gcc/hashtable.c.
217 * line-map.c: Moved from gcc. Do not include intl.h.
218 * mkdeps.c: Moved from gcc.
219 * system.h: New file.
2cf22451
ZW
220 * include/cpplib.h: Moved from gcc. Change header guard name.
221 * include/line-map.h: Moved from gcc. Change header guard name.
222 * include/mkdeps.h: Moved from gcc. Change header guard name.
223 * include/symtab.h: Moved from gcc/hashtable.h. Change header
224 guard name.