1 2020-06-30 Nathan Sidwell <nathan@acm.org>
3 * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
6 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
9 * configure: Regenerated.
11 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
13 * configure: Regenerated.
15 2020-05-12 H.J. Lu <hongjiu.lu@intel.com>
17 * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
18 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
19 AC_SUBST(CET_HOST_FLAGS).
20 * Makefile.in: Regenerated.
21 * aclocal.m4: Likewise.
22 * configure: Likewise.
24 2020-02-12 Patrick Palka <ppalka@redhat.com>
28 * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
29 AUTO_IS_DECLTYPE anymore.
31 2020-01-07 Paolo Carlini <paolo.carlini@oracle.com>
33 * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
35 2020-01-01 Jakub Jelinek <jakub@redhat.com>
37 Update copyright years.
39 2019-12-30 Paolo Carlini <paolo.carlini@oracle.com>
41 * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
44 2019-12-18 Paolo Carlini <paolo.carlini@oracle.com>
46 * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
47 and cxx_sizeof_or_alignof_expr calls.
48 (plugin_build_unary_type_expr): Likewise for
49 cxx_sizeof_or_alignof_type.
51 2019-12-09 Paolo Carlini <paolo.carlini@oracle.com>
53 * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
56 2019-12-05 Paolo Carlini <paolo.carlini@oracle.com>
58 * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
59 build_functional_cast call.
61 2019-11-25 Paolo Carlini <paolo.carlini@oracle.com>
63 * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
64 cp_build_indirect_ref call.
66 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
68 * configure: Regenerate.
70 2019-05-21 Nathan Sidwell <nathan@acm.org>
72 * libcp1plugin.cc (plugin_add_using_decl): Use
73 finish_nonmember_using_decl.
75 2019-05-20 Nathan Sidwell <nathan@acm.org>
77 * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
78 finish_using_directive.
80 2019-01-01 Jakub Jelinek <jakub@redhat.com>
82 Update copyright years.
84 2018-11-13 David Malcolm <dmalcolm@redhat.com>
86 * libcc1plugin.cc: Replace "source_location" with "location_t".
87 (plugin_context::get_source_location): Rename to...
88 (plugin_context::get_location_t): ...this.
89 * libcp1plugin.cc: Likewise.
91 2018-10-31 Joseph Myers <joseph@codesourcery.com>
94 * configure.ac: Remove AC_PREREQ.
95 * Makefile.in, aclocal.m4, configure: Regenerate.
97 2018-04-18 David Malcolm <dmalcolm@redhat.com>
100 * configure: Regenerate.
102 2018-01-03 Jakub Jelinek <jakub@redhat.com>
104 Update copyright years.
106 2017-11-14 Boris Kolpackov <boris@codesynthesis.com>
108 * configure: Regenerate.
110 2017-11-16 Sergio Durigan Junior <sergiodj@redhat.com>
111 Pedro Alves <palves@redhat.com>
113 * Makefile.am: Remove references to c-compiler-name.h and
115 * Makefile.in: Regenerate.
116 * compiler-name.hh: New file.
117 * libcc1.cc: Don't include c-compiler-name.h. Include
119 * libcp1.cc: Don't include cp-compiler-name.h. Include
122 2017-11-01 Nathan Sidwell <nathan@acm.org>
124 * libcp1plugin.cc (plugin_build_decl): Use
125 DECL_OVERLOADED_OPERATOR_CODE_RAW.
127 2017-10-31 Nathan Sidwell <nathan@acm.org>
129 * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
130 Directly set operator code.
131 (plugin_build_dependent_expr): Use ovl_op_identifier.
133 2017-10-04 Nathan Sidwell <nathan@acm.org>
135 * libcp1plugin.cc (supplement_binding): Don't use
136 maybe_remove_implicit_alias.
138 2017-07-20 Nathan Sidwell <nathan@acm.org>
141 * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
143 2017-07-12 Nathan Sidwell <nathan@acm.org>
145 * libcp1plugin.cc (plugin_build_decl): Use
146 DECL_CXX_{CON,DE}STRUCTOR directly.
148 2017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
150 * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
152 2017-06-30 Nathan Sidwell <nathan@acm.org>
154 * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
155 (plugin_build_dependent_expr): Likewise.
157 2017-06-26 Nathan Sidwell <nathan@acm.org>
159 * libcp1plugin.cc (plugin_build_decl): Don't set
160 DECL_ASSIGNMENT_OPERATOR_P.
162 2017-06-16 Nathan Sidwell <nathan@acm.org>
164 * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
166 2017-05-26 Nathan Sidwell <nathan@acm.org>
168 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
170 * libcp1plugin.cc (plugin_add_using_namespace): Call
171 finish_namespace_using_directive.
173 2017-05-25 Nathan Sidwell <nathan@acm.org>
175 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
176 DECL_NAMESPACE_INLINE_P.
178 2017-05-23 Nathan Sidwell <nathan@acm.org>
180 * libcp1plugin.cc (plugin_add_using_decl): Call
181 finish_namespace_using_decl. Use assert not unreachable.
183 2017-05-11 Nathan Sidwell <nathan@acm.org>
185 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
187 2017-05-10 Nathan Sidwell <nathan@acm.org>
189 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
191 2017-04-15 Alexandre Oliva <aoliva@redhat.com>
193 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
195 2017-01-30 Alexandre Oliva <aoliva@redhat.com>
197 Introduce C++ support.
198 * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
199 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
201 (plugin_LTLIBRARIES): Add libcp1plugin.la.
202 (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
203 (cp-compiler-name.h): ... this. New.
204 (c-compiler-name.h): Rename all over from...
205 (compiler-name.h): ... this. Create it atomically.
206 (marshall_c_source, marshall_cxx_source): New macros.
207 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
208 Add marshall_c_source expansion.
209 (libcc1plugin.lo_CPPFLAGS): New macro.
210 (libcp1plugin_la_LDFLAGS): Likewise.
211 (libcp1plugin_la_SOURCES): Likewise.
212 (libcp1plugin.lo_CPPFLAGS): Likewise.
213 (libcp1plugin_la_LIBADD): Likewise.
214 (libcp1plugin_la_DEPENDENCIES): Likewise.
215 (libcp1plugin_la_LINK): Likewise.
216 (libcc1_la_SOURCES): Added marshall_c_source and
217 marshall_cxx_source expansions.
218 * Makefile.in: Rebuild.
219 * compiler-name.h: Rename all over to...
220 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead
222 * plugin.cc: Rename all over to...
223 * libcc1plugin.cc: ... this. Include marshall-c.hh.
224 (address_rewriter): Drop cleaning up of VLA sizes.
225 (plugin_build_decl): Mark decls as external.
226 (plugin_tagbind): Propagate name to all variants.
227 (build_anonymous_node): New.
228 (plugin_build_record_type): Use it instead of make_node.
229 (plugin_build_union_type): Likewise.
230 (plugin_build_enum_type): Likewise.
231 (plugin_finish_record_or_union): Update all type variants.
232 (safe_lookup_builtin_type): New.
233 (plugin_int_check): Factor out of, and add checks to, ...
234 (plugin_int_type): ... this. Rename to...
235 (plugin_int_type_v0): ... this.
236 (plugin_int_type): New interface, new implementation.
237 (plugin_char_type): New.
238 (plugin_float_type_v0): Rename from...
239 (plugin_float_type): ... this. New interface, new implementation.
240 (plugin_init): Bump handshake version.
241 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h.
242 (call_binding_oracle): Rename to...
243 (c_call_binding_oracle): ... this, into anonymous namespace.
244 (call_symbol_address): Rename to...
245 (c_call_symbol_address): ... this, likewise.
246 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
247 (libcc1::compiler::find): Refer to C_COMPILER_NAME.
248 (fork_exec): Bump to GCC_C_FE_VERSION_1.
249 (libcc1_compile): Prefix callbacks with c_.
250 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
251 * libcc1.sym: Export gcc_cp_fe_context.
252 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
253 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
254 * libcp1plugin.sym: New.
255 * marshall-c.hh: New. Move C-specific types from...
256 * marshall.cc: ... this.
257 (cc1_plugin::marshall_array_start): New.
258 (cc1_plugin::marshall_array_elmts): New.
259 (cc1_plugin::marshall for gcc_type_array): Use the above.
260 (cc1_plugin::unmarshall_array_start): New.
261 (cc1_plugin::unmarshall_array_elmts): New.
262 (cc1_plugin::unmarshall for gcc_type_array): Use the above.
263 * marshall.hh: Declare the new array building blocks.
264 Drop C-specific unmarshall declarations.
265 * marshall-cp.hh: New.
266 * names.cc (GCC_METHOD#): Add LANG:: to method names.
267 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
268 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
269 corresponding namespaces.
270 * rpc.hh: Don't include marshall.hh.
271 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
272 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
274 2017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
276 * findcomp.cc: Include system.h.
277 (search_dir): Return absolute filename.
279 * libcc1.cc (libcc1): Add class compiler with field compilerp,
280 class compiler_triplet_regexp and class
281 compiler_driver_filename.
282 (libcc1::libcc1): Initialize compilerp.
283 (libcc1::~libcc1): Delete compilerp.
284 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
285 (libcc1::compiler_driver_filename::find): New methods.
286 (libcc1_set_arguments): Remove parameter triplet_regexp.
287 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
288 (libcc1_set_arguments_v0): New functions.
289 (vtable): Use libcc1_set_arguments_v0, add
290 libcc1_set_arguments, libcc1_set_triplet_regexp and
291 libcc1_set_driver_filename.
293 * libcc1.cc: Include intl.h.
294 (struct libcc1): Add field verbose.
295 (libcc1::libcc1): Initialize it.
296 (libcc1_set_verbose): New function.
297 (libcc1_set_arguments): Print messages for VERBOSE.
298 (libcc1_compile): Remove parameter verbose. Use VERBOSE from
300 (libcc1_compile_v0): New function.
301 (vtable): Use libcc1_compile_v0 and add libcc1_compile and
304 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
305 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
307 2017-01-17 Jakub Jelinek <jakub@redhat.com>
310 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
311 use just major number from BASE-VER.
312 * configure: Regenerated.
313 * Makefile.in: Regenerated.
315 2017-01-04 Jakub Jelinek <jakub@redhat.com>
317 Update copyright years.
319 2016-11-18 Richard Sandiford <richard.sandiford@arm.com>
320 Alan Hayward <alan.hayward@arm.com>
321 David Sherwood <david.sherwood@arm.com>
323 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
325 2016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
329 2016-04-18 Michael Matz <matz@suse.de>
331 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
333 2016-04-11 Segher Boessenkool <segher@kernel.crashing.org>
336 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
337 (compiler-name.h): Shorten recipe so that it fits the line.
338 * Makefile.in: Regenerate.
340 2016-03-14 Andreas Schwab <schwab@suse.de>
342 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
343 * configure: Regenerate.
344 * Makefile.in: Regenerate.
346 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
348 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
349 rather than typed_free_remove. Remove redudant typedefs.
351 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
353 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
354 than typed_noop_remove. Remove redudant typedefs.
355 (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
356 (plugin_context::mark): Likewise.
358 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
360 * Makefile.in: Regenerated with automake-1.11.6.
361 * aclocal.m4: Likewise.
362 * configure: Likewise.
364 2015-04-18 Trevor Saunders <tsaunders@mozilla.com>
366 * plugin.cc: Adjust for hash_table changes.
368 2015-04-15 Andreas Schwab <schwab@suse.de>
371 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
372 * Makefile.in: Regenerated.
374 2015-01-30 Joseph Myers <joseph@codesourcery.com>
376 * plugin.cc: All callers of fatal_error changed to pass
377 input_location as first argument.
379 2015-01-09 Michael Collison <michael.collison@linaro.org>
381 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
382 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
383 due to flattening of tree.h.
385 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
388 * configure: Regenerated.
390 2014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
392 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
393 * configure: Regenerate.
394 * connection.cc: Include <string.h>.
395 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
397 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
400 * configure: Regenerate.
402 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
406 * plugin.cc: Don't include <string>.
408 2014-10-29 Jakub Jelinek <jakub@redhat.com>
409 Phil Muldoon <pmuldoon@redhat.com>
411 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add
412 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
413 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
414 (WERROR_FLAG): Remove.
415 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
416 * configure: Regenerated.
417 * Makefile.in: Regenerated.
419 2014-10-29 Jakub Jelinek <jakub@redhat.com>
421 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
422 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
424 (libiberty): Set to -Wc, followed by the first existing noasan/,
425 pic/ or . libiberty.a.
426 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
427 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
428 * Makefile.in: Regenerated.
430 2014-10-27 Phil Muldoon <pmuldoon@redhat.com>
431 Jan Kratochvil <jan.kratochvil@redhat.com>
432 Tom Tromey <tromey@redhat.com>
434 * aclocal.m4: New file.
435 * callbacks.cc: New file.
436 * callbacks.hh: New file.
437 * cc1plugin-config.h.in: New file.
438 * configure: New file.
439 * configure.ac: New file.
440 * connection.cc: New file.
441 * connection.hh: New file.
442 * findcomp.cc: New file.
443 * findcomp.hh: New file.
444 * libcc1.cc: New file.
445 * libcc1plugin.sym: New file.
446 * libcc1.sym: New file.
447 * Makefile.am: New file.
448 * Makefile.in: New file.
449 * marshall.cc: New file.
450 * marshall.hh: New file.
451 * names.cc: New file.
452 * names.hh: New file.
453 * plugin.cc: New file.
455 * status.hh: New file.