]> git.ipfire.org Git - thirdparty/gcc.git/blame - libcpp/ChangeLog
Add missing ChangeLog entries
[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
12 -D macros as text.
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.
23
24
0ca8e815
PB
252004-06-09 Paolo Bonzini <bonzini@gnu.org>
26
27 * Makefile.am (all-local): New.
28 * Makefile.in: Regenerate.
29
b51fa00f
RS
302004-06-06 Roger Sayle <roger@eyesopen.com>
31
32 * Makefile.am (LIBICONV): Declare.
33 (makedepend_LDADD): Use LIBICONV.
34 * Makefile.in: Regenerate.
35
5e2f3f39
AP
362004-06-05 Andrew Pinski <pinskia@physics.uc.edu>
37
38 * Makefile.am (LIBINTL): Declare
39 (makedepend_LDADD): Use LIBINTL.
40 * Makefile.in: Regenerate.
41
c6e83800
ZW
422004-06-05 Zack Weinberg <zack@codesourcery.com>
43
44 * Makefile.am: Add makedepend.
45 * Makefile.in, aclocal.m4: Regenerate.
46 * charset.c: Insert a space to avoid a warning.
47 * directives.c: Include mkdeps.h.
48 (_cpp_handle_directive): Reenable macro expander if appropriate.
49 (undefine_macros): Inline body of _cpp_free_definition for speed.
50 Do not call undef callback or _cpp_warn_if_unused_macro.
51 (cpp_get_deps): New interface.
52 * files.c (search_cache): Add pfile argument. Check for file
53 that would be found by "" or <> search here...
54 (_cpp_find_file): ...not here. Correct recorded start_dir of
55 files found by directory-of-current-file search that would be
56 found by "" or <> search.
57 * init.c (cpp_add_dependency_target): Delete.
58 * internal.h (struct lexer_state): Add discarding_output flag.
59 * lex.c (lex_identifier): Compute hash function while scanning.
60 * macro.c (cpp_scan_nooutput): Disable macro expansion outside
61 directives.
62 * makedepend.c: New file.
63 * mkdeps.c (struct deps): Add vpath vector.
64 (apply_vpath, deps_add_vpath): New function.
65 (deps_free): Free vpath vector.
66 (deps_add_dep, deps_add_target): Use apply_vpath.
67 * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
68 (ht_lookup_with_hash): New function.
69 * cpplib.h, mkdeps.h: Update prototypes.
70 * symtab.h: Update prototypes.
71 (HT_HASHSTEP, HT_FINISH): New macros.
72
b453c95f
GK
732004-05-29 Geoffrey Keating <geoffk@apple.com>
74
75 * symtab.c (ht_create): Set entries_owned.
76 (ht_destroy): Honour entries_owned.
77 (ht_expand): Likewise.
78 (ht_load): New.
79
963e23c5
PB
802004-05-26 Paolo Bonzini <bonzini@gnu.org>
81
82 PR bootstrap/15651
83 * configure.ac: Fix m4 quoting when picking
84 the size of HOST_WIDE_INT.
85 * configure: Regenerate.
86
0429bc77
PB
872004-05-25 Paolo Bonzini <bonzini@gnu.org>
88
89 * Makefile.am: the correct directory for
90 gettext include files is given by @INCINTL@.
91 * Makefile.in: Regenerate.
92
c86dd7db
PB
932004-05-24 Paolo Bonzini <bonzini@gnu.org>
94
95 * system.h [!ENABLE_NLS]: dgettext takes two
96 parameters.
97
4f4e53dd
PB
982004-05-23 Paolo Bonzini <bonzini@gnu.org>
99
100 Moved libcpp from the gcc subdirectory to the toplevel.
101 * Makefile.am: New file.
102 * Makefile.in: Regenerate.
103 * configure.ac: New file.
104 * configure: Regenerate.
105 * config.in: Regenerate.
106 * charset.c: Moved from gcc/cppcharset.c. Add note about
107 brokenness of input charset detection. Adjust for change
108 in name of cppucnid.h.
109 * errors.c: Moved from gcc/cpperror.c. Do not include intl.h.
110 * expr.c: Moved from gcc/cppexp.c.
111 * files.c: Moved from gcc/cppfiles.c. Do not include intl.h.
112 Remove #define of O_BINARY, it is in system.h.
113 * identifiers.c: Moved from gcc/cpphash.c.
114 * internal.h: Moved from gcc/cpphash.h. Change header
115 guard name. All other files adjusted to match name change.
116 * init.c: Moved from gcc/cppinit.c.
117 (init_library) [ENABLE_NLS]: Call bindtextdomain.
118 * lex.c: Moved from gcc/cpplex.c.
119 * directives.c: Moved from gcc/cpplib.c.
120 * macro.c: Moved from gcc/cppmacro.c.
121 * pch.c: Moved from gcc/cpppch.c. Do not include intl.h.
122 * traditional.c: Moved from gcc/cpptrad.c.
123 * ucnid.h: Moved from gcc/cppucnid.h. Change header
124 guard name.
125 * ucnid.pl: Moved from gcc/cppucnid.pl.
126 * ucnid.tab: Moved from gcc/cppucnid.tab. Change header
127 guard name.
128 * symtab.c: Moved from gcc/hashtable.c.
129 * line-map.c: Moved from gcc. Do not include intl.h.
130 * mkdeps.c: Moved from gcc.
131 * system.h: New file.
132