]> git.ipfire.org Git - thirdparty/gcc.git/blame - libcpp/ChangeLog
* tree-ssa.c (ssa_redirect_edge): Correct leading comment.
[thirdparty/gcc.git] / libcpp / ChangeLog
CommitLineData
159d5224
PB
12004-06-15 Paolo Bonzini <bonzini@gnu.org>
2
3 * Makefile.in: Regenerate with automake 1.8.5.
4 * aclocal.m4: Likewise.
5 * configure: Regenerate.
6
2fac9c01
ZW
72004-06-11 Zack Weinberg <zack@codesourcery.com>
8
9 * configure.ac: Don't invoke ACX_HEADER_STDBOOL.
10 * configure, config.in: Regenerate.
11 * system.h: Unconditionally define bool as unsigned char,
12 BOOL_BITFIELD as unsigned int.
13 * .cvsignore: New file.
14
d8044160
GK
152004-06-09 Geoffrey Keating <geoffk@apple.com>
16
17 * traditional.c (push_replacement_text): Set macro->traditional.
18 (save_replacement_text): Likewise.
19 * pch.c (cpp_write_pch_state): Don't write list of defined macros.
20 (struct save_macro_item): Delete.
21 (struct save_macro_data): Use a character array not the previous
22 structured format.
23 (save_macros): Save macro as text not as internal structures.
24 (cpp_prepare_state): Update for changes to save_macro_data.
25 (cpp_read_state): Don't read macros defined in PCH. Restore
2cf22451 26 -D macros as text.
d8044160
GK
27 * macro.c (create_iso_definition): Honour alloc_subobject.
28 Clear traditional flag.
29 (_cpp_create_definition): Honour alloc_subobject.
30 * lex.c (cpp_token_val_index): New.
31 * internal.h: Include cpp-id-data.h.
32 (uchar): Move definition to cpp-id-data.h.
33 (U): Likewise.
34 (cpp_macro): Likewise.
35 * directives.c (struct answer): Move to cpp-id-data.h.
36 (do_assert): Honour alloc_subobject.
2cf22451
ZW
37
38 * include/symtab.h (struct ht): Add field 'alloc_subobject'.
39 * include/cpplib.h (struct cpp_string): Add GTY marker.
40 (enum cpp_token_fld_kind): New.
41 (struct cpp_token): Add GTY markers.
42 (cpp_token_val_index): Prototype.
43 (CPP_HASHNODE_VALUE_IDX): New.
44 (struct cpp_hashnode): Don't skip fields of 'value' when marking.
45 * include/cpp-id-data.h: New file.
d8044160 46
0ca8e815
PB
472004-06-09 Paolo Bonzini <bonzini@gnu.org>
48
49 * Makefile.am (all-local): New.
50 * Makefile.in: Regenerate.
51
b51fa00f
RS
522004-06-06 Roger Sayle <roger@eyesopen.com>
53
54 * Makefile.am (LIBICONV): Declare.
55 (makedepend_LDADD): Use LIBICONV.
56 * Makefile.in: Regenerate.
57
5e2f3f39
AP
582004-06-05 Andrew Pinski <pinskia@physics.uc.edu>
59
60 * Makefile.am (LIBINTL): Declare
61 (makedepend_LDADD): Use LIBINTL.
62 * Makefile.in: Regenerate.
63
c6e83800
ZW
642004-06-05 Zack Weinberg <zack@codesourcery.com>
65
66 * Makefile.am: Add makedepend.
67 * Makefile.in, aclocal.m4: Regenerate.
68 * charset.c: Insert a space to avoid a warning.
69 * directives.c: Include mkdeps.h.
70 (_cpp_handle_directive): Reenable macro expander if appropriate.
71 (undefine_macros): Inline body of _cpp_free_definition for speed.
72 Do not call undef callback or _cpp_warn_if_unused_macro.
73 (cpp_get_deps): New interface.
74 * files.c (search_cache): Add pfile argument. Check for file
75 that would be found by "" or <> search here...
76 (_cpp_find_file): ...not here. Correct recorded start_dir of
77 files found by directory-of-current-file search that would be
78 found by "" or <> search.
79 * init.c (cpp_add_dependency_target): Delete.
80 * internal.h (struct lexer_state): Add discarding_output flag.
81 * lex.c (lex_identifier): Compute hash function while scanning.
82 * macro.c (cpp_scan_nooutput): Disable macro expansion outside
83 directives.
84 * makedepend.c: New file.
85 * mkdeps.c (struct deps): Add vpath vector.
86 (apply_vpath, deps_add_vpath): New function.
87 (deps_free): Free vpath vector.
88 (deps_add_dep, deps_add_target): Use apply_vpath.
89 * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
90 (ht_lookup_with_hash): New function.
91 * cpplib.h, mkdeps.h: Update prototypes.
92 * symtab.h: Update prototypes.
93 (HT_HASHSTEP, HT_FINISH): New macros.
94
b453c95f
GK
952004-05-29 Geoffrey Keating <geoffk@apple.com>
96
97 * symtab.c (ht_create): Set entries_owned.
98 (ht_destroy): Honour entries_owned.
99 (ht_expand): Likewise.
100 (ht_load): New.
2cf22451
ZW
101 * include/symtab.h (struct ht): New field 'entries_owned'
102 (ht_load): New prototype.
b453c95f 103
963e23c5
PB
1042004-05-26 Paolo Bonzini <bonzini@gnu.org>
105
106 PR bootstrap/15651
107 * configure.ac: Fix m4 quoting when picking
108 the size of HOST_WIDE_INT.
109 * configure: Regenerate.
110
0429bc77
PB
1112004-05-25 Paolo Bonzini <bonzini@gnu.org>
112
113 * Makefile.am: the correct directory for
114 gettext include files is given by @INCINTL@.
115 * Makefile.in: Regenerate.
116
c86dd7db
PB
1172004-05-24 Paolo Bonzini <bonzini@gnu.org>
118
119 * system.h [!ENABLE_NLS]: dgettext takes two
120 parameters.
121
4f4e53dd
PB
1222004-05-23 Paolo Bonzini <bonzini@gnu.org>
123
124 Moved libcpp from the gcc subdirectory to the toplevel.
125 * Makefile.am: New file.
126 * Makefile.in: Regenerate.
127 * configure.ac: New file.
128 * configure: Regenerate.
129 * config.in: Regenerate.
130 * charset.c: Moved from gcc/cppcharset.c. Add note about
131 brokenness of input charset detection. Adjust for change
132 in name of cppucnid.h.
133 * errors.c: Moved from gcc/cpperror.c. Do not include intl.h.
134 * expr.c: Moved from gcc/cppexp.c.
135 * files.c: Moved from gcc/cppfiles.c. Do not include intl.h.
136 Remove #define of O_BINARY, it is in system.h.
137 * identifiers.c: Moved from gcc/cpphash.c.
138 * internal.h: Moved from gcc/cpphash.h. Change header
139 guard name. All other files adjusted to match name change.
140 * init.c: Moved from gcc/cppinit.c.
141 (init_library) [ENABLE_NLS]: Call bindtextdomain.
142 * lex.c: Moved from gcc/cpplex.c.
143 * directives.c: Moved from gcc/cpplib.c.
144 * macro.c: Moved from gcc/cppmacro.c.
145 * pch.c: Moved from gcc/cpppch.c. Do not include intl.h.
146 * traditional.c: Moved from gcc/cpptrad.c.
147 * ucnid.h: Moved from gcc/cppucnid.h. Change header
148 guard name.
149 * ucnid.pl: Moved from gcc/cppucnid.pl.
150 * ucnid.tab: Moved from gcc/cppucnid.tab. Change header
151 guard name.
152 * symtab.c: Moved from gcc/hashtable.c.
153 * line-map.c: Moved from gcc. Do not include intl.h.
154 * mkdeps.c: Moved from gcc.
155 * system.h: New file.
2cf22451
ZW
156 * include/cpplib.h: Moved from gcc. Change header guard name.
157 * include/line-map.h: Moved from gcc. Change header guard name.
158 * include/mkdeps.h: Moved from gcc. Change header guard name.
159 * include/symtab.h: Moved from gcc/hashtable.h. Change header
160 guard name.