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