]> git.ipfire.org Git - thirdparty/gcc.git/blob - libcc1/ChangeLog
cp-tree.h (lang_decl_fn): Remove assignment_operator_p field.
[thirdparty/gcc.git] / libcc1 / ChangeLog
1 2017-06-26 Nathan Sidwell <nathan@acm.org>
2
3 * libcp1plugin.cc (plugin_build_decl): Don't set
4 DECL_ASSIGNMENT_OPERATOR_P.
5
6 2017-06-16 Nathan Sidwell <nathan@acm.org>
7
8 * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
9
10 2017-05-26 Nathan Sidwell <nathan@acm.org>
11
12 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
13
14 * libcp1plugin.cc (plugin_add_using_namespace): Call
15 finish_namespace_using_directive.
16
17 2017-05-25 Nathan Sidwell <nathan@acm.org>
18
19 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
20 DECL_NAMESPACE_INLINE_P.
21
22 2017-05-23 Nathan Sidwell <nathan@acm.org>
23
24 * libcp1plugin.cc (plugin_add_using_decl): Call
25 finish_namespace_using_decl. Use assert not unreachable.
26
27 2017-05-11 Nathan Sidwell <nathan@acm.org>
28
29 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
30
31 2017-05-10 Nathan Sidwell <nathan@acm.org>
32
33 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
34
35 2017-04-15 Alexandre Oliva <aoliva@redhat.com>
36
37 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
38
39 2017-01-30 Alexandre Oliva <aoliva@redhat.com>
40
41 Introduce C++ support.
42 * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
43 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
44 new macros.
45 (plugin_LTLIBRARIES): Add libcp1plugin.la.
46 (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
47 (cp-compiler-name.h): ... this. New.
48 (c-compiler-name.h): Rename all over from...
49 (compiler-name.h): ... this. Create it atomically.
50 (marshall_c_source, marshall_cxx_source): New macros.
51 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
52 Add marshall_c_source expansion.
53 (libcc1plugin.lo_CPPFLAGS): New macro.
54 (libcp1plugin_la_LDFLAGS): Likewise.
55 (libcp1plugin_la_SOURCES): Likewise.
56 (libcp1plugin.lo_CPPFLAGS): Likewise.
57 (libcp1plugin_la_LIBADD): Likewise.
58 (libcp1plugin_la_DEPENDENCIES): Likewise.
59 (libcp1plugin_la_LINK): Likewise.
60 (libcc1_la_SOURCES): Added marshall_c_source and
61 marshall_cxx_source expansions.
62 * Makefile.in: Rebuild.
63 * compiler-name.h: Rename all over to...
64 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead
65 of COMPILER_NAME.
66 * plugin.cc: Rename all over to...
67 * libcc1plugin.cc: ... this. Include marshall-c.hh.
68 (address_rewriter): Drop cleaning up of VLA sizes.
69 (plugin_build_decl): Mark decls as external.
70 (plugin_tagbind): Propagate name to all variants.
71 (build_anonymous_node): New.
72 (plugin_build_record_type): Use it instead of make_node.
73 (plugin_build_union_type): Likewise.
74 (plugin_build_enum_type): Likewise.
75 (plugin_finish_record_or_union): Update all type variants.
76 (safe_lookup_builtin_type): New.
77 (plugin_int_check): Factor out of, and add checks to, ...
78 (plugin_int_type): ... this. Rename to...
79 (plugin_int_type_v0): ... this.
80 (plugin_int_type): New interface, new implementation.
81 (plugin_char_type): New.
82 (plugin_float_type_v0): Rename from...
83 (plugin_float_type): ... this. New interface, new implementation.
84 (plugin_init): Bump handshake version.
85 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h.
86 (call_binding_oracle): Rename to...
87 (c_call_binding_oracle): ... this, into anonymous namespace.
88 (call_symbol_address): Rename to...
89 (c_call_symbol_address): ... this, likewise.
90 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
91 (libcc1::compiler::find): Refer to C_COMPILER_NAME.
92 (fork_exec): Bump to GCC_C_FE_VERSION_1.
93 (libcc1_compile): Prefix callbacks with c_.
94 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
95 * libcc1.sym: Export gcc_cp_fe_context.
96 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
97 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
98 * libcp1plugin.sym: New.
99 * marshall-c.hh: New. Move C-specific types from...
100 * marshall.cc: ... this.
101 (cc1_plugin::marshall_array_start): New.
102 (cc1_plugin::marshall_array_elmts): New.
103 (cc1_plugin::marshall for gcc_type_array): Use the above.
104 (cc1_plugin::unmarshall_array_start): New.
105 (cc1_plugin::unmarshall_array_elmts): New.
106 (cc1_plugin::unmarshall for gcc_type_array): Use the above.
107 * marshall.hh: Declare the new array building blocks.
108 Drop C-specific unmarshall declarations.
109 * marshall-cp.hh: New.
110 * names.cc (GCC_METHOD#): Add LANG:: to method names.
111 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
112 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
113 corresponding namespaces.
114 * rpc.hh: Don't include marshall.hh.
115 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
116 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
117
118 2017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
119
120 * findcomp.cc: Include system.h.
121 (search_dir): Return absolute filename.
122
123 * libcc1.cc (libcc1): Add class compiler with field compilerp,
124 class compiler_triplet_regexp and class
125 compiler_driver_filename.
126 (libcc1::libcc1): Initialize compilerp.
127 (libcc1::~libcc1): Delete compilerp.
128 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
129 (libcc1::compiler_driver_filename::find): New methods.
130 (libcc1_set_arguments): Remove parameter triplet_regexp.
131 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
132 (libcc1_set_arguments_v0): New functions.
133 (vtable): Use libcc1_set_arguments_v0, add
134 libcc1_set_arguments, libcc1_set_triplet_regexp and
135 libcc1_set_driver_filename.
136
137 * libcc1.cc: Include intl.h.
138 (struct libcc1): Add field verbose.
139 (libcc1::libcc1): Initialize it.
140 (libcc1_set_verbose): New function.
141 (libcc1_set_arguments): Print messages for VERBOSE.
142 (libcc1_compile): Remove parameter verbose. Use VERBOSE from
143 SELF.
144 (libcc1_compile_v0): New function.
145 (vtable): Use libcc1_compile_v0 and add libcc1_compile and
146 libcc1_set_verbose.
147
148 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
149 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
150
151 2017-01-17 Jakub Jelinek <jakub@redhat.com>
152
153 PR other/79046
154 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
155 use just major number from BASE-VER.
156 * configure: Regenerated.
157 * Makefile.in: Regenerated.
158
159 2017-01-04 Jakub Jelinek <jakub@redhat.com>
160
161 Update copyright years.
162
163 2016-11-18 Richard Sandiford <richard.sandiford@arm.com>
164 Alan Hayward <alan.hayward@arm.com>
165 David Sherwood <david.sherwood@arm.com>
166
167 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
168
169 2016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
170
171 Update copyrights.
172
173 2016-04-18 Michael Matz <matz@suse.de>
174
175 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
176
177 2016-04-11 Segher Boessenkool <segher@kernel.crashing.org>
178
179 PR bootstrap/70173
180 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
181 (compiler-name.h): Shorten recipe so that it fits the line.
182 * Makefile.in: Regenerate.
183
184 2016-03-14 Andreas Schwab <schwab@suse.de>
185
186 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
187 * configure: Regenerate.
188 * Makefile.in: Regenerate.
189
190 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
191
192 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
193 rather than typed_free_remove. Remove redudant typedefs.
194
195 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
196
197 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
198 than typed_noop_remove. Remove redudant typedefs.
199 (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
200 (plugin_context::mark): Likewise.
201
202 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
203
204 * Makefile.in: Regenerated with automake-1.11.6.
205 * aclocal.m4: Likewise.
206 * configure: Likewise.
207
208 2015-04-18 Trevor Saunders <tsaunders@mozilla.com>
209
210 * plugin.cc: Adjust for hash_table changes.
211
212 2015-04-15 Andreas Schwab <schwab@suse.de>
213
214 PR bootstrap/65763
215 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
216 * Makefile.in: Regenerated.
217
218 2015-01-30 Joseph Myers <joseph@codesourcery.com>
219
220 * plugin.cc: All callers of fatal_error changed to pass
221 input_location as first argument.
222
223 2015-01-09 Michael Collison <michael.collison@linaro.org>
224
225 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
226 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
227 due to flattening of tree.h.
228
229 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
230
231 PR bootstrap/63784
232 * configure: Regenerated.
233
234 2014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
235
236 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
237 * configure: Regenerate.
238 * connection.cc: Include <string.h>.
239 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
240
241 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
242
243 PR target/63610
244 * configure: Regenerate.
245
246 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
247
248 PR bootstrap/63699
249 PR bootstrap/63750
250 * plugin.cc: Don't include <string>.
251
252 2014-10-29 Jakub Jelinek <jakub@redhat.com>
253 Phil Muldoon <pmuldoon@redhat.com>
254
255 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add
256 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
257 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
258 (WERROR_FLAG): Remove.
259 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
260 * configure: Regenerated.
261 * Makefile.in: Regenerated.
262
263 2014-10-29 Jakub Jelinek <jakub@redhat.com>
264
265 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
266 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
267 New variables.
268 (libiberty): Set to -Wc, followed by the first existing noasan/,
269 pic/ or . libiberty.a.
270 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
271 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
272 * Makefile.in: Regenerated.
273
274 2014-10-27 Phil Muldoon <pmuldoon@redhat.com>
275 Jan Kratochvil <jan.kratochvil@redhat.com>
276 Tom Tromey <tromey@redhat.com>
277
278 * aclocal.m4: New file.
279 * callbacks.cc: New file.
280 * callbacks.hh: New file.
281 * cc1plugin-config.h.in: New file.
282 * configure: New file.
283 * configure.ac: New file.
284 * connection.cc: New file.
285 * connection.hh: New file.
286 * findcomp.cc: New file.
287 * findcomp.hh: New file.
288 * libcc1.cc: New file.
289 * libcc1plugin.sym: New file.
290 * libcc1.sym: New file.
291 * Makefile.am: New file.
292 * Makefile.in: New file.
293 * marshall.cc: New file.
294 * marshall.hh: New file.
295 * names.cc: New file.
296 * names.hh: New file.
297 * plugin.cc: New file.
298 * rpc.hh: New file.
299 * status.hh: New file.