]>
Commit | Line | Data |
---|---|---|
a09d4744 NB |
1 | 2004-07-04 Neil Booth <neil@duron.akihabara.co.uk> |
2 | ||
3 | PR preprocessor/16192 | |
4 | PR preprocessor/15913 | |
5 | PR preprocessor/15572 | |
6 | * expr.c (_cpp_parse_expr): Handle remaining cases where an | |
7 | expression is missing. | |
8 | * init.c (post_options): Traditional cpp doesn't do // comments. | |
9 | ||
f58f7def PB |
10 | 2004-06-30 Per Bothner <per@bothner.com> |
11 | ||
12 | * include/line-map.h (fileline): Remove old typedef. | |
13 | * internal.h (struct cpp_reader): Use source_location typedef instead. | |
14 | ||
e83d8d43 ZW |
15 | 2004-06-26 Zack Weinberg <zack@codesourcery.com> |
16 | ||
17 | Partially revert patch of 2004-06-05. | |
18 | * files.c (search_cache): Remove pfile argument. Don't check | |
19 | for file that would be found by "" or <> search here... | |
20 | (_cpp_find_file): ...do it here, before calling find_file_in_dir. | |
21 | Do not apply directory-of-current-file correction to files | |
22 | found by this check. Rearrange code slightly. | |
23 | ||
c0d578e6 GK |
24 | 2004-06-21 Geoffrey Keating <geoffk@apple.com> |
25 | ||
26 | * files.c (should_stack_file): Correct swapped parameters to call | |
27 | to cb.read_pch. | |
28 | * pch.c (cpp_valid_state): Handle -fpreprocessed. | |
29 | ||
159d5224 PB |
30 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
31 | ||
32 | * Makefile.in: Regenerate with automake 1.8.5. | |
33 | * aclocal.m4: Likewise. | |
34 | * configure: Regenerate. | |
35 | ||
2fac9c01 ZW |
36 | 2004-06-11 Zack Weinberg <zack@codesourcery.com> |
37 | ||
38 | * configure.ac: Don't invoke ACX_HEADER_STDBOOL. | |
39 | * configure, config.in: Regenerate. | |
40 | * system.h: Unconditionally define bool as unsigned char, | |
41 | BOOL_BITFIELD as unsigned int. | |
42 | * .cvsignore: New file. | |
43 | ||
d8044160 GK |
44 | 2004-06-09 Geoffrey Keating <geoffk@apple.com> |
45 | ||
46 | * traditional.c (push_replacement_text): Set macro->traditional. | |
47 | (save_replacement_text): Likewise. | |
48 | * pch.c (cpp_write_pch_state): Don't write list of defined macros. | |
49 | (struct save_macro_item): Delete. | |
50 | (struct save_macro_data): Use a character array not the previous | |
51 | structured format. | |
52 | (save_macros): Save macro as text not as internal structures. | |
53 | (cpp_prepare_state): Update for changes to save_macro_data. | |
54 | (cpp_read_state): Don't read macros defined in PCH. Restore | |
2cf22451 | 55 | -D macros as text. |
d8044160 GK |
56 | * macro.c (create_iso_definition): Honour alloc_subobject. |
57 | Clear traditional flag. | |
58 | (_cpp_create_definition): Honour alloc_subobject. | |
59 | * lex.c (cpp_token_val_index): New. | |
60 | * internal.h: Include cpp-id-data.h. | |
61 | (uchar): Move definition to cpp-id-data.h. | |
62 | (U): Likewise. | |
63 | (cpp_macro): Likewise. | |
64 | * directives.c (struct answer): Move to cpp-id-data.h. | |
65 | (do_assert): Honour alloc_subobject. | |
2cf22451 ZW |
66 | |
67 | * include/symtab.h (struct ht): Add field 'alloc_subobject'. | |
68 | * include/cpplib.h (struct cpp_string): Add GTY marker. | |
69 | (enum cpp_token_fld_kind): New. | |
70 | (struct cpp_token): Add GTY markers. | |
71 | (cpp_token_val_index): Prototype. | |
72 | (CPP_HASHNODE_VALUE_IDX): New. | |
73 | (struct cpp_hashnode): Don't skip fields of 'value' when marking. | |
74 | * include/cpp-id-data.h: New file. | |
d8044160 | 75 | |
0ca8e815 PB |
76 | 2004-06-09 Paolo Bonzini <bonzini@gnu.org> |
77 | ||
78 | * Makefile.am (all-local): New. | |
79 | * Makefile.in: Regenerate. | |
80 | ||
b51fa00f RS |
81 | 2004-06-06 Roger Sayle <roger@eyesopen.com> |
82 | ||
83 | * Makefile.am (LIBICONV): Declare. | |
84 | (makedepend_LDADD): Use LIBICONV. | |
85 | * Makefile.in: Regenerate. | |
86 | ||
5e2f3f39 AP |
87 | 2004-06-05 Andrew Pinski <pinskia@physics.uc.edu> |
88 | ||
89 | * Makefile.am (LIBINTL): Declare | |
90 | (makedepend_LDADD): Use LIBINTL. | |
91 | * Makefile.in: Regenerate. | |
92 | ||
c6e83800 ZW |
93 | 2004-06-05 Zack Weinberg <zack@codesourcery.com> |
94 | ||
95 | * Makefile.am: Add makedepend. | |
96 | * Makefile.in, aclocal.m4: Regenerate. | |
97 | * charset.c: Insert a space to avoid a warning. | |
98 | * directives.c: Include mkdeps.h. | |
99 | (_cpp_handle_directive): Reenable macro expander if appropriate. | |
100 | (undefine_macros): Inline body of _cpp_free_definition for speed. | |
101 | Do not call undef callback or _cpp_warn_if_unused_macro. | |
102 | (cpp_get_deps): New interface. | |
103 | * files.c (search_cache): Add pfile argument. Check for file | |
104 | that would be found by "" or <> search here... | |
105 | (_cpp_find_file): ...not here. Correct recorded start_dir of | |
106 | files found by directory-of-current-file search that would be | |
107 | found by "" or <> search. | |
108 | * init.c (cpp_add_dependency_target): Delete. | |
109 | * internal.h (struct lexer_state): Add discarding_output flag. | |
110 | * lex.c (lex_identifier): Compute hash function while scanning. | |
111 | * macro.c (cpp_scan_nooutput): Disable macro expansion outside | |
112 | directives. | |
113 | * makedepend.c: New file. | |
114 | * mkdeps.c (struct deps): Add vpath vector. | |
115 | (apply_vpath, deps_add_vpath): New function. | |
116 | (deps_free): Free vpath vector. | |
117 | (deps_add_dep, deps_add_target): Use apply_vpath. | |
118 | * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH. | |
119 | (ht_lookup_with_hash): New function. | |
120 | * cpplib.h, mkdeps.h: Update prototypes. | |
121 | * symtab.h: Update prototypes. | |
122 | (HT_HASHSTEP, HT_FINISH): New macros. | |
123 | ||
b453c95f GK |
124 | 2004-05-29 Geoffrey Keating <geoffk@apple.com> |
125 | ||
126 | * symtab.c (ht_create): Set entries_owned. | |
127 | (ht_destroy): Honour entries_owned. | |
128 | (ht_expand): Likewise. | |
129 | (ht_load): New. | |
2cf22451 ZW |
130 | * include/symtab.h (struct ht): New field 'entries_owned' |
131 | (ht_load): New prototype. | |
b453c95f | 132 | |
963e23c5 PB |
133 | 2004-05-26 Paolo Bonzini <bonzini@gnu.org> |
134 | ||
135 | PR bootstrap/15651 | |
136 | * configure.ac: Fix m4 quoting when picking | |
137 | the size of HOST_WIDE_INT. | |
138 | * configure: Regenerate. | |
139 | ||
0429bc77 PB |
140 | 2004-05-25 Paolo Bonzini <bonzini@gnu.org> |
141 | ||
142 | * Makefile.am: the correct directory for | |
143 | gettext include files is given by @INCINTL@. | |
144 | * Makefile.in: Regenerate. | |
145 | ||
c86dd7db PB |
146 | 2004-05-24 Paolo Bonzini <bonzini@gnu.org> |
147 | ||
148 | * system.h [!ENABLE_NLS]: dgettext takes two | |
149 | parameters. | |
150 | ||
4f4e53dd PB |
151 | 2004-05-23 Paolo Bonzini <bonzini@gnu.org> |
152 | ||
153 | Moved libcpp from the gcc subdirectory to the toplevel. | |
154 | * Makefile.am: New file. | |
155 | * Makefile.in: Regenerate. | |
156 | * configure.ac: New file. | |
157 | * configure: Regenerate. | |
158 | * config.in: Regenerate. | |
159 | * charset.c: Moved from gcc/cppcharset.c. Add note about | |
160 | brokenness of input charset detection. Adjust for change | |
161 | in name of cppucnid.h. | |
162 | * errors.c: Moved from gcc/cpperror.c. Do not include intl.h. | |
163 | * expr.c: Moved from gcc/cppexp.c. | |
164 | * files.c: Moved from gcc/cppfiles.c. Do not include intl.h. | |
165 | Remove #define of O_BINARY, it is in system.h. | |
166 | * identifiers.c: Moved from gcc/cpphash.c. | |
167 | * internal.h: Moved from gcc/cpphash.h. Change header | |
168 | guard name. All other files adjusted to match name change. | |
169 | * init.c: Moved from gcc/cppinit.c. | |
170 | (init_library) [ENABLE_NLS]: Call bindtextdomain. | |
171 | * lex.c: Moved from gcc/cpplex.c. | |
172 | * directives.c: Moved from gcc/cpplib.c. | |
173 | * macro.c: Moved from gcc/cppmacro.c. | |
174 | * pch.c: Moved from gcc/cpppch.c. Do not include intl.h. | |
175 | * traditional.c: Moved from gcc/cpptrad.c. | |
176 | * ucnid.h: Moved from gcc/cppucnid.h. Change header | |
177 | guard name. | |
178 | * ucnid.pl: Moved from gcc/cppucnid.pl. | |
179 | * ucnid.tab: Moved from gcc/cppucnid.tab. Change header | |
180 | guard name. | |
181 | * symtab.c: Moved from gcc/hashtable.c. | |
182 | * line-map.c: Moved from gcc. Do not include intl.h. | |
183 | * mkdeps.c: Moved from gcc. | |
184 | * system.h: New file. | |
2cf22451 ZW |
185 | * include/cpplib.h: Moved from gcc. Change header guard name. |
186 | * include/line-map.h: Moved from gcc. Change header guard name. | |
187 | * include/mkdeps.h: Moved from gcc. Change header guard name. | |
188 | * include/symtab.h: Moved from gcc/hashtable.h. Change header | |
189 | guard name. |