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