1 2022-06-01 David Seifert <soap@gentoo.org>
4 * configure: Regenerate.
6 2021-12-16 Patrick Palka <ppalka@redhat.com>
11 * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
13 (plugin_build_binary_expr): Adjust call to build_x_binary_op.
15 2021-12-15 Iain Sandoe <iain@sandoe.co.uk>
17 * configure: Regenerate.
19 2021-08-17 Iain Sandoe <iain@sandoe.co.uk>
21 * Makefile.am: Switch mdynamic-no-pic to fPIC.
22 * Makefile.in: Regenerated.
24 2021-06-28 Martin Sebor <msebor@redhat.com>
26 * libcp1plugin.cc (record_decl_address): Replace a direct use
27 of TREE_NO_WARNING with suppress_warning.
29 2021-05-05 Tom Tromey <tom@tromey.com>
31 * compiler.cc (make_regexp): Take const std::string.
32 (cc1_plugin::compiler_triplet_regexp::find): Update.
34 2021-05-05 Tom Tromey <tom@tromey.com>
37 * compiler.hh (compiler_driver_filename): Take const char *.
38 (compiler_triplet_regexp): Likewise.
40 2021-05-05 Tom Tromey <tom@tromey.com>
42 * rpc.hh (argument_wrapper) <get>: Replace cast operator.
43 (argument_wrapper<T *>) <get>: Likewise.
44 (unmarshall): Add std::tuple overloads.
47 * libcp1plugin.cc (plugin_init): Update.
48 * libcp1.cc (libcp1::add_callbacks): Update.
49 * libcc1plugin.cc (plugin_init): Update.
50 * libcc1.cc (libcc1::add_callbacks): Update.
51 * connection.cc (cc1_plugin::connection::do_wait): Update.
53 2021-05-05 Tom Tromey <tom@tromey.com>
55 * gdbctx.hh (do_compile): Use std::vector.
57 2021-05-05 Tom Tromey <tom@tromey.com>
59 * libcp1.cc (libcp1): Change parameters. Update.
60 (libcp1_set_verbose, libcp1_set_arguments)
61 (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
62 (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
63 (libcp1_compile, libcp1_destroy, vtable): Remove.
64 (libcp1::add_callbacks): New method, extracted from
66 (gcc_c_fe_context): Update.
67 * libcc1.cc (libcc1): Change parameters. Update.
68 (libcc1_set_verbose, libcc1_set_arguments)
69 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
70 (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
71 (libcc1_compile, libcc1_destroy, vtable): Remove.
72 (libcc1::add_callbacks): New method, extracted from
74 (gcc_c_fe_context): Update.
75 * gdbctx.hh (base_gdb_plugin): Change parameters.
76 (~base_gdb_plugin): New.
77 <add_callbacks>: New virtual method.
78 <plugin_name, fe_version, compiler_name, vtable>: New members.
79 (get_self, do_set_verbose, do_set_arguments)
80 (do_set_triplet_regexp, do_set_driver_filename)
81 (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
82 (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
84 2021-05-05 Tom Tromey <tom@tromey.com>
86 * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
88 2021-05-05 Tom Tromey <tom@tromey.com>
90 * libcp1.cc (struct libcp1): Derive from base_gdb_plugin. Remove
92 (class libcp1_connection): Remove.
94 (libcp1_set_verbose, libcp1_compile): Update.
95 (cp_call_binding_oracle, cp_call_symbol_address)
96 (cp_call_enter_scope, cp_call_leave_scope): Update.
97 * libcc1.cc (struct libcc1): Derive from base_gdb_plugin. Remove
99 (class libcc1_connection): Remove.
100 (c_call_binding_oracle, c_call_symbol_address): Update.
102 (libcc1_set_verbose, libcc1_compile): Update.
103 * gdbctx.hh: New file.
105 2021-05-05 Tom Tromey <tom@tromey.com>
107 * libcc1plugin.cc: Move code to context.cc.
108 * libcp1plugin.cc: Move code to context.cc.
109 * context.hh: New file.
110 * context.cc: New file.
111 * Makefile.in: Rebuild.
112 * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
113 (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
114 (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
115 (libcp1plugin_la_SOURCES): Likewise.
117 2021-05-05 Tom Tromey <tom@tromey.com>
119 * libcp1plugin.cc: Use static assert.
121 2021-05-05 Tom Tromey <tom@tromey.com>
123 * libcp1plugin.cc (plugin_context::mark): Use foreach.
124 * libcc1plugin.cc (plugin_context::mark): Use foreach.
126 2021-05-05 Tom Tromey <tom@tromey.com>
128 * libcp1.cc (compiler, compiler_triplet_regexp)
129 (compiler_driver_filename): Remove.
130 (libcp1::libcp1): Update.
131 (make_regexp, libcp1::compiler::find)
132 (libcp1::compiler_triplet_regexp::find)
133 (libcp1::compiler_driver_filename::find): Remove.
134 (libcp1_set_verbose, libcp1_set_arguments)
135 (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
136 * libcc1.cc (compiler, compiler_triplet_regexp)
137 (compiler_driver_filename): Remove.
138 (libcc1::libcc1): Update.
139 (make_regexp, libcc1::compiler::find)
140 (libcc1::compiler_triplet_regexp::find)
141 (libcc1::compiler_driver_filename::find): Remove.
142 (libcc1_set_verbose, libcc1_set_arguments)
143 (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
144 * compiler.cc: New file.
145 * compiler.hh: New file.
146 * Makefile.in: Rebuild.
147 * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
149 2021-05-05 Tom Tromey <tom@tromey.com>
151 * libcp1.cc (struct libcp1) <connection, compilerp>: Use
154 (libcp1_compile, libcp1_set_triplet_regexp)
155 (libcp1_set_driver_filename): Update.
156 * libcc1.cc (struct libcc1) <connection, compilerp>: Use
159 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
160 (libcc1_compile): Update.
162 2021-05-05 Tom Tromey <tom@tromey.com>
164 * rpc.hh (deleter): Move template and some specializations to
166 (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
167 * marshall.cc (cc1_plugin::unmarshall): Use
168 cc1_plugin::unique_ptr.
169 * marshall-cp.hh (deleter): New specializations.
170 (unmarshall): Use cc1_plugin::unique_ptr.
171 * deleter.hh: New file.
173 2021-05-05 Tom Tromey <tom@tromey.com>
175 * rpc.hh (struct deleter): New template class and
177 (argument_wrapper): Remove specializations. Add specialization
178 for any pointer type.
180 2021-05-05 Tom Tromey <tom@tromey.com>
182 * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
183 * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
185 2021-05-05 Tom Tromey <tom@tromey.com>
187 * libcp1.cc (rpc): Use variadic template. Remove overloads.
188 * libcc1.cc (rpc): Use variadic template. Remove overloads.
190 2021-05-05 Tom Tromey <tom@tromey.com>
192 * rpc.hh (call): Use variadic template. Remove overloads.
193 * marshall.hh (marshall): Add base overload. Use variadic
196 2021-05-05 Tom Tromey <tom@tromey.com>
198 * rpc.hh (argument_wrapper): Use delete for copy constructor.
199 * connection.hh (class connection): Use delete for copy
201 * callbacks.hh (class callbacks): Use delete for copy constructor.
203 2021-05-05 Tom Tromey <tom@tromey.com>
205 * connection.hh (~connection): Use default.
207 * connection.cc (cc1_plugin::connection::~connection)
208 (cc1_plugin::connection::print): Remove definitions.
210 2021-05-05 Tom Tromey <tom@tromey.com>
212 * libcp1.cc (class compiler_triplet_regexp)
213 (class compiler_driver_filename, class libcp1_connection): Use
215 * libcc1.cc (class compiler_triplet_regexp)
216 (class compiler_driver_filename, class libcc1_connection): Use
219 2021-05-05 Tom Tromey <tom@tromey.com>
221 * marshall.hh (cc1_plugin::unmarshall): Use type traits.
222 * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
223 * marshall-c.hh: Remove.
224 * libcc1plugin.cc: Update includes.
225 * libcc1.cc: Update includes.
227 2021-05-03 H.J. Lu <hjl.tools@gmail.com>
230 * configure: Regenerated.
232 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
234 * configure: Re-generate.
236 2020-12-18 Jakub Jelinek <jakub@redhat.com>
239 * configure.ac: Set darwin_dynamic_lookup=no instead to empty
241 * configure: Regenerated.
243 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
246 * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
247 * configure.ac: Test for Darwin host and set a flag.
248 * Makefile.in: Regenerate.
249 * configure: Regenerate.
251 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
253 * configure: Regenerate.
255 2020-11-11 Patrick Palka <ppalka@redhat.com>
258 * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
259 cxx_sizeof_or_alignof_expr.
261 2020-11-10 Marek Polacek <polacek@redhat.com>
264 * libcp1plugin.cc (plugin_add_static_assert): Pass false to
265 finish_static_assert.
267 2020-11-06 Nathan Sidwell <nathan@acm.org>
269 * libcc1plugin.cc (address_rewriter): Rename
270 DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
271 * libcp1plugin.cc (supplement_binding): Likewise.
273 2020-10-14 Nathan Sidwell <nathan@acm.org>
275 * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
277 2020-10-07 Nathan Sidwell <nathan@acm.org>
279 * libcp1plugin.cc (supplement_binding): Rename
282 2020-10-02 Nathan Sidwell <nathan@acm.org>
284 * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
286 2020-09-25 Nathan Sidwell <nathan@acm.org>
288 * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
290 2020-09-24 Nathan Sidwell <nathan@acm.org>
292 * libcp1plugin.cc (supplement_binding): Drop default args to
294 (safe_pushtag): Drop scope parm. Drop default args to pushtag.
295 (safe_pushdecl_maybe_friend): Rename to ...
296 (safe_pushdecl): ... here. Drop is_friend parm. Drop default args
298 (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
299 (plugin_build_constant): Adjust safe_pushdecl call.
301 2020-09-10 Nathan Sidwell <nathan@acm.org>
303 * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
305 2020-08-14 Nathan Sidwell <nathan@acm.org>
307 * libcp1plugin.cc (plugin_build_dependent_expr): Rename
308 lookup_name_real call.
310 2020-08-14 Nathan Sidwell <nathan@acm.org>
312 * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
313 lookup_name_real call.
315 2020-08-14 Nathan Sidwell <nathan@acm.org>
317 * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
318 lookup_name_real & lookup_qualified_name calls.
320 2020-08-13 Nathan Sidwell <nathan@acm.org>
322 * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
324 2020-07-30 H.J. Lu <hjl.tools@gmail.com>
327 * configure: Regenerated.
329 2020-06-30 Nathan Sidwell <nathan@acm.org>
331 * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
334 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
337 * configure: Regenerated.
339 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
341 * configure: Regenerated.
343 2020-05-12 H.J. Lu <hongjiu.lu@intel.com>
345 * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
346 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
347 AC_SUBST(CET_HOST_FLAGS).
348 * Makefile.in: Regenerated.
349 * aclocal.m4: Likewise.
350 * configure: Likewise.
352 2020-02-12 Patrick Palka <ppalka@redhat.com>
356 * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
357 AUTO_IS_DECLTYPE anymore.
359 2020-01-07 Paolo Carlini <paolo.carlini@oracle.com>
361 * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
363 2020-01-01 Jakub Jelinek <jakub@redhat.com>
365 Update copyright years.
367 2019-12-30 Paolo Carlini <paolo.carlini@oracle.com>
369 * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
372 2019-12-18 Paolo Carlini <paolo.carlini@oracle.com>
374 * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
375 and cxx_sizeof_or_alignof_expr calls.
376 (plugin_build_unary_type_expr): Likewise for
377 cxx_sizeof_or_alignof_type.
379 2019-12-09 Paolo Carlini <paolo.carlini@oracle.com>
381 * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
384 2019-12-05 Paolo Carlini <paolo.carlini@oracle.com>
386 * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
387 build_functional_cast call.
389 2019-11-25 Paolo Carlini <paolo.carlini@oracle.com>
391 * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
392 cp_build_indirect_ref call.
394 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
396 * configure: Regenerate.
398 2019-05-21 Nathan Sidwell <nathan@acm.org>
400 * libcp1plugin.cc (plugin_add_using_decl): Use
401 finish_nonmember_using_decl.
403 2019-05-20 Nathan Sidwell <nathan@acm.org>
405 * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
406 finish_using_directive.
408 2019-01-01 Jakub Jelinek <jakub@redhat.com>
410 Update copyright years.
412 2018-11-13 David Malcolm <dmalcolm@redhat.com>
414 * libcc1plugin.cc: Replace "source_location" with "location_t".
415 (plugin_context::get_source_location): Rename to...
416 (plugin_context::get_location_t): ...this.
417 * libcp1plugin.cc: Likewise.
419 2018-10-31 Joseph Myers <joseph@codesourcery.com>
422 * configure.ac: Remove AC_PREREQ.
423 * Makefile.in, aclocal.m4, configure: Regenerate.
425 2018-04-18 David Malcolm <dmalcolm@redhat.com>
428 * configure: Regenerate.
430 2018-01-03 Jakub Jelinek <jakub@redhat.com>
432 Update copyright years.
434 2017-11-14 Boris Kolpackov <boris@codesynthesis.com>
436 * configure: Regenerate.
438 2017-11-16 Sergio Durigan Junior <sergiodj@redhat.com>
439 Pedro Alves <palves@redhat.com>
441 * Makefile.am: Remove references to c-compiler-name.h and
443 * Makefile.in: Regenerate.
444 * compiler-name.hh: New file.
445 * libcc1.cc: Don't include c-compiler-name.h. Include
447 * libcp1.cc: Don't include cp-compiler-name.h. Include
450 2017-11-01 Nathan Sidwell <nathan@acm.org>
452 * libcp1plugin.cc (plugin_build_decl): Use
453 DECL_OVERLOADED_OPERATOR_CODE_RAW.
455 2017-10-31 Nathan Sidwell <nathan@acm.org>
457 * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
458 Directly set operator code.
459 (plugin_build_dependent_expr): Use ovl_op_identifier.
461 2017-10-04 Nathan Sidwell <nathan@acm.org>
463 * libcp1plugin.cc (supplement_binding): Don't use
464 maybe_remove_implicit_alias.
466 2017-07-20 Nathan Sidwell <nathan@acm.org>
469 * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
471 2017-07-12 Nathan Sidwell <nathan@acm.org>
473 * libcp1plugin.cc (plugin_build_decl): Use
474 DECL_CXX_{CON,DE}STRUCTOR directly.
476 2017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
478 * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
480 2017-06-30 Nathan Sidwell <nathan@acm.org>
482 * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
483 (plugin_build_dependent_expr): Likewise.
485 2017-06-26 Nathan Sidwell <nathan@acm.org>
487 * libcp1plugin.cc (plugin_build_decl): Don't set
488 DECL_ASSIGNMENT_OPERATOR_P.
490 2017-06-16 Nathan Sidwell <nathan@acm.org>
492 * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
494 2017-05-26 Nathan Sidwell <nathan@acm.org>
496 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
498 * libcp1plugin.cc (plugin_add_using_namespace): Call
499 finish_namespace_using_directive.
501 2017-05-25 Nathan Sidwell <nathan@acm.org>
503 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
504 DECL_NAMESPACE_INLINE_P.
506 2017-05-23 Nathan Sidwell <nathan@acm.org>
508 * libcp1plugin.cc (plugin_add_using_decl): Call
509 finish_namespace_using_decl. Use assert not unreachable.
511 2017-05-11 Nathan Sidwell <nathan@acm.org>
513 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
515 2017-05-10 Nathan Sidwell <nathan@acm.org>
517 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
519 2017-04-15 Alexandre Oliva <aoliva@redhat.com>
521 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
523 2017-01-30 Alexandre Oliva <aoliva@redhat.com>
525 Introduce C++ support.
526 * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
527 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
529 (plugin_LTLIBRARIES): Add libcp1plugin.la.
530 (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
531 (cp-compiler-name.h): ... this. New.
532 (c-compiler-name.h): Rename all over from...
533 (compiler-name.h): ... this. Create it atomically.
534 (marshall_c_source, marshall_cxx_source): New macros.
535 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
536 Add marshall_c_source expansion.
537 (libcc1plugin.lo_CPPFLAGS): New macro.
538 (libcp1plugin_la_LDFLAGS): Likewise.
539 (libcp1plugin_la_SOURCES): Likewise.
540 (libcp1plugin.lo_CPPFLAGS): Likewise.
541 (libcp1plugin_la_LIBADD): Likewise.
542 (libcp1plugin_la_DEPENDENCIES): Likewise.
543 (libcp1plugin_la_LINK): Likewise.
544 (libcc1_la_SOURCES): Added marshall_c_source and
545 marshall_cxx_source expansions.
546 * Makefile.in: Rebuild.
547 * compiler-name.h: Rename all over to...
548 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead
550 * plugin.cc: Rename all over to...
551 * libcc1plugin.cc: ... this. Include marshall-c.hh.
552 (address_rewriter): Drop cleaning up of VLA sizes.
553 (plugin_build_decl): Mark decls as external.
554 (plugin_tagbind): Propagate name to all variants.
555 (build_anonymous_node): New.
556 (plugin_build_record_type): Use it instead of make_node.
557 (plugin_build_union_type): Likewise.
558 (plugin_build_enum_type): Likewise.
559 (plugin_finish_record_or_union): Update all type variants.
560 (safe_lookup_builtin_type): New.
561 (plugin_int_check): Factor out of, and add checks to, ...
562 (plugin_int_type): ... this. Rename to...
563 (plugin_int_type_v0): ... this.
564 (plugin_int_type): New interface, new implementation.
565 (plugin_char_type): New.
566 (plugin_float_type_v0): Rename from...
567 (plugin_float_type): ... this. New interface, new implementation.
568 (plugin_init): Bump handshake version.
569 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h.
570 (call_binding_oracle): Rename to...
571 (c_call_binding_oracle): ... this, into anonymous namespace.
572 (call_symbol_address): Rename to...
573 (c_call_symbol_address): ... this, likewise.
574 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
575 (libcc1::compiler::find): Refer to C_COMPILER_NAME.
576 (fork_exec): Bump to GCC_C_FE_VERSION_1.
577 (libcc1_compile): Prefix callbacks with c_.
578 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
579 * libcc1.sym: Export gcc_cp_fe_context.
580 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
581 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
582 * libcp1plugin.sym: New.
583 * marshall-c.hh: New. Move C-specific types from...
584 * marshall.cc: ... this.
585 (cc1_plugin::marshall_array_start): New.
586 (cc1_plugin::marshall_array_elmts): New.
587 (cc1_plugin::marshall for gcc_type_array): Use the above.
588 (cc1_plugin::unmarshall_array_start): New.
589 (cc1_plugin::unmarshall_array_elmts): New.
590 (cc1_plugin::unmarshall for gcc_type_array): Use the above.
591 * marshall.hh: Declare the new array building blocks.
592 Drop C-specific unmarshall declarations.
593 * marshall-cp.hh: New.
594 * names.cc (GCC_METHOD#): Add LANG:: to method names.
595 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
596 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
597 corresponding namespaces.
598 * rpc.hh: Don't include marshall.hh.
599 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
600 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
602 2017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
604 * findcomp.cc: Include system.h.
605 (search_dir): Return absolute filename.
607 * libcc1.cc (libcc1): Add class compiler with field compilerp,
608 class compiler_triplet_regexp and class
609 compiler_driver_filename.
610 (libcc1::libcc1): Initialize compilerp.
611 (libcc1::~libcc1): Delete compilerp.
612 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
613 (libcc1::compiler_driver_filename::find): New methods.
614 (libcc1_set_arguments): Remove parameter triplet_regexp.
615 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
616 (libcc1_set_arguments_v0): New functions.
617 (vtable): Use libcc1_set_arguments_v0, add
618 libcc1_set_arguments, libcc1_set_triplet_regexp and
619 libcc1_set_driver_filename.
621 * libcc1.cc: Include intl.h.
622 (struct libcc1): Add field verbose.
623 (libcc1::libcc1): Initialize it.
624 (libcc1_set_verbose): New function.
625 (libcc1_set_arguments): Print messages for VERBOSE.
626 (libcc1_compile): Remove parameter verbose. Use VERBOSE from
628 (libcc1_compile_v0): New function.
629 (vtable): Use libcc1_compile_v0 and add libcc1_compile and
632 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
633 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
635 2017-01-17 Jakub Jelinek <jakub@redhat.com>
638 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
639 use just major number from BASE-VER.
640 * configure: Regenerated.
641 * Makefile.in: Regenerated.
643 2017-01-04 Jakub Jelinek <jakub@redhat.com>
645 Update copyright years.
647 2016-11-18 Richard Sandiford <richard.sandiford@arm.com>
648 Alan Hayward <alan.hayward@arm.com>
649 David Sherwood <david.sherwood@arm.com>
651 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
653 2016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
657 2016-04-18 Michael Matz <matz@suse.de>
659 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
661 2016-04-11 Segher Boessenkool <segher@kernel.crashing.org>
664 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
665 (compiler-name.h): Shorten recipe so that it fits the line.
666 * Makefile.in: Regenerate.
668 2016-03-14 Andreas Schwab <schwab@suse.de>
670 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
671 * configure: Regenerate.
672 * Makefile.in: Regenerate.
674 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
676 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
677 rather than typed_free_remove. Remove redudant typedefs.
679 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
681 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
682 than typed_noop_remove. Remove redudant typedefs.
683 (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
684 (plugin_context::mark): Likewise.
686 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
688 * Makefile.in: Regenerated with automake-1.11.6.
689 * aclocal.m4: Likewise.
690 * configure: Likewise.
692 2015-04-18 Trevor Saunders <tsaunders@mozilla.com>
694 * plugin.cc: Adjust for hash_table changes.
696 2015-04-15 Andreas Schwab <schwab@suse.de>
699 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
700 * Makefile.in: Regenerated.
702 2015-01-30 Joseph Myers <joseph@codesourcery.com>
704 * plugin.cc: All callers of fatal_error changed to pass
705 input_location as first argument.
707 2015-01-09 Michael Collison <michael.collison@linaro.org>
709 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
710 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
711 due to flattening of tree.h.
713 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
716 * configure: Regenerated.
718 2014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
720 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
721 * configure: Regenerate.
722 * connection.cc: Include <string.h>.
723 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
725 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
728 * configure: Regenerate.
730 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
734 * plugin.cc: Don't include <string>.
736 2014-10-29 Jakub Jelinek <jakub@redhat.com>
737 Phil Muldoon <pmuldoon@redhat.com>
739 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add
740 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
741 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
742 (WERROR_FLAG): Remove.
743 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
744 * configure: Regenerated.
745 * Makefile.in: Regenerated.
747 2014-10-29 Jakub Jelinek <jakub@redhat.com>
749 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
750 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
752 (libiberty): Set to -Wc, followed by the first existing noasan/,
753 pic/ or . libiberty.a.
754 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
755 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
756 * Makefile.in: Regenerated.
758 2014-10-27 Phil Muldoon <pmuldoon@redhat.com>
759 Jan Kratochvil <jan.kratochvil@redhat.com>
760 Tom Tromey <tromey@redhat.com>
762 * aclocal.m4: New file.
763 * callbacks.cc: New file.
764 * callbacks.hh: New file.
765 * cc1plugin-config.h.in: New file.
766 * configure: New file.
767 * configure.ac: New file.
768 * connection.cc: New file.
769 * connection.hh: New file.
770 * findcomp.cc: New file.
771 * findcomp.hh: New file.
772 * libcc1.cc: New file.
773 * libcc1plugin.sym: New file.
774 * libcc1.sym: New file.
775 * Makefile.am: New file.
776 * Makefile.in: New file.
777 * marshall.cc: New file.
778 * marshall.hh: New file.
779 * names.cc: New file.
780 * names.hh: New file.
781 * plugin.cc: New file.
783 * status.hh: New file.