1 2022-06-27 Sergei Trofimovich <siarheit@google.com>
4 * libcc1plugin.cc: Include <memory> via "system.h".
5 * libcp1plugin.cc: Ditto.
7 2022-06-01 David Seifert <soap@gentoo.org>
10 * configure: Regenerate.
12 2021-12-16 Patrick Palka <ppalka@redhat.com>
17 * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
19 (plugin_build_binary_expr): Adjust call to build_x_binary_op.
21 2021-12-15 Iain Sandoe <iain@sandoe.co.uk>
23 * configure: Regenerate.
25 2021-08-17 Iain Sandoe <iain@sandoe.co.uk>
27 * Makefile.am: Switch mdynamic-no-pic to fPIC.
28 * Makefile.in: Regenerated.
30 2021-06-28 Martin Sebor <msebor@redhat.com>
32 * libcp1plugin.cc (record_decl_address): Replace a direct use
33 of TREE_NO_WARNING with suppress_warning.
35 2021-05-05 Tom Tromey <tom@tromey.com>
37 * compiler.cc (make_regexp): Take const std::string.
38 (cc1_plugin::compiler_triplet_regexp::find): Update.
40 2021-05-05 Tom Tromey <tom@tromey.com>
43 * compiler.hh (compiler_driver_filename): Take const char *.
44 (compiler_triplet_regexp): Likewise.
46 2021-05-05 Tom Tromey <tom@tromey.com>
48 * rpc.hh (argument_wrapper) <get>: Replace cast operator.
49 (argument_wrapper<T *>) <get>: Likewise.
50 (unmarshall): Add std::tuple overloads.
53 * libcp1plugin.cc (plugin_init): Update.
54 * libcp1.cc (libcp1::add_callbacks): Update.
55 * libcc1plugin.cc (plugin_init): Update.
56 * libcc1.cc (libcc1::add_callbacks): Update.
57 * connection.cc (cc1_plugin::connection::do_wait): Update.
59 2021-05-05 Tom Tromey <tom@tromey.com>
61 * gdbctx.hh (do_compile): Use std::vector.
63 2021-05-05 Tom Tromey <tom@tromey.com>
65 * libcp1.cc (libcp1): Change parameters. Update.
66 (libcp1_set_verbose, libcp1_set_arguments)
67 (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
68 (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
69 (libcp1_compile, libcp1_destroy, vtable): Remove.
70 (libcp1::add_callbacks): New method, extracted from
72 (gcc_c_fe_context): Update.
73 * libcc1.cc (libcc1): Change parameters. Update.
74 (libcc1_set_verbose, libcc1_set_arguments)
75 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
76 (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
77 (libcc1_compile, libcc1_destroy, vtable): Remove.
78 (libcc1::add_callbacks): New method, extracted from
80 (gcc_c_fe_context): Update.
81 * gdbctx.hh (base_gdb_plugin): Change parameters.
82 (~base_gdb_plugin): New.
83 <add_callbacks>: New virtual method.
84 <plugin_name, fe_version, compiler_name, vtable>: New members.
85 (get_self, do_set_verbose, do_set_arguments)
86 (do_set_triplet_regexp, do_set_driver_filename)
87 (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
88 (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
90 2021-05-05 Tom Tromey <tom@tromey.com>
92 * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
94 2021-05-05 Tom Tromey <tom@tromey.com>
96 * libcp1.cc (struct libcp1): Derive from base_gdb_plugin. Remove
98 (class libcp1_connection): Remove.
100 (libcp1_set_verbose, libcp1_compile): Update.
101 (cp_call_binding_oracle, cp_call_symbol_address)
102 (cp_call_enter_scope, cp_call_leave_scope): Update.
103 * libcc1.cc (struct libcc1): Derive from base_gdb_plugin. Remove
105 (class libcc1_connection): Remove.
106 (c_call_binding_oracle, c_call_symbol_address): Update.
108 (libcc1_set_verbose, libcc1_compile): Update.
109 * gdbctx.hh: New file.
111 2021-05-05 Tom Tromey <tom@tromey.com>
113 * libcc1plugin.cc: Move code to context.cc.
114 * libcp1plugin.cc: Move code to context.cc.
115 * context.hh: New file.
116 * context.cc: New file.
117 * Makefile.in: Rebuild.
118 * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
119 (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
120 (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
121 (libcp1plugin_la_SOURCES): Likewise.
123 2021-05-05 Tom Tromey <tom@tromey.com>
125 * libcp1plugin.cc: Use static assert.
127 2021-05-05 Tom Tromey <tom@tromey.com>
129 * libcp1plugin.cc (plugin_context::mark): Use foreach.
130 * libcc1plugin.cc (plugin_context::mark): Use foreach.
132 2021-05-05 Tom Tromey <tom@tromey.com>
134 * libcp1.cc (compiler, compiler_triplet_regexp)
135 (compiler_driver_filename): Remove.
136 (libcp1::libcp1): Update.
137 (make_regexp, libcp1::compiler::find)
138 (libcp1::compiler_triplet_regexp::find)
139 (libcp1::compiler_driver_filename::find): Remove.
140 (libcp1_set_verbose, libcp1_set_arguments)
141 (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
142 * libcc1.cc (compiler, compiler_triplet_regexp)
143 (compiler_driver_filename): Remove.
144 (libcc1::libcc1): Update.
145 (make_regexp, libcc1::compiler::find)
146 (libcc1::compiler_triplet_regexp::find)
147 (libcc1::compiler_driver_filename::find): Remove.
148 (libcc1_set_verbose, libcc1_set_arguments)
149 (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
150 * compiler.cc: New file.
151 * compiler.hh: New file.
152 * Makefile.in: Rebuild.
153 * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
155 2021-05-05 Tom Tromey <tom@tromey.com>
157 * libcp1.cc (struct libcp1) <connection, compilerp>: Use
160 (libcp1_compile, libcp1_set_triplet_regexp)
161 (libcp1_set_driver_filename): Update.
162 * libcc1.cc (struct libcc1) <connection, compilerp>: Use
165 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
166 (libcc1_compile): Update.
168 2021-05-05 Tom Tromey <tom@tromey.com>
170 * rpc.hh (deleter): Move template and some specializations to
172 (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
173 * marshall.cc (cc1_plugin::unmarshall): Use
174 cc1_plugin::unique_ptr.
175 * marshall-cp.hh (deleter): New specializations.
176 (unmarshall): Use cc1_plugin::unique_ptr.
177 * deleter.hh: New file.
179 2021-05-05 Tom Tromey <tom@tromey.com>
181 * rpc.hh (struct deleter): New template class and
183 (argument_wrapper): Remove specializations. Add specialization
184 for any pointer type.
186 2021-05-05 Tom Tromey <tom@tromey.com>
188 * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
189 * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
191 2021-05-05 Tom Tromey <tom@tromey.com>
193 * libcp1.cc (rpc): Use variadic template. Remove overloads.
194 * libcc1.cc (rpc): Use variadic template. Remove overloads.
196 2021-05-05 Tom Tromey <tom@tromey.com>
198 * rpc.hh (call): Use variadic template. Remove overloads.
199 * marshall.hh (marshall): Add base overload. Use variadic
202 2021-05-05 Tom Tromey <tom@tromey.com>
204 * rpc.hh (argument_wrapper): Use delete for copy constructor.
205 * connection.hh (class connection): Use delete for copy
207 * callbacks.hh (class callbacks): Use delete for copy constructor.
209 2021-05-05 Tom Tromey <tom@tromey.com>
211 * connection.hh (~connection): Use default.
213 * connection.cc (cc1_plugin::connection::~connection)
214 (cc1_plugin::connection::print): Remove definitions.
216 2021-05-05 Tom Tromey <tom@tromey.com>
218 * libcp1.cc (class compiler_triplet_regexp)
219 (class compiler_driver_filename, class libcp1_connection): Use
221 * libcc1.cc (class compiler_triplet_regexp)
222 (class compiler_driver_filename, class libcc1_connection): Use
225 2021-05-05 Tom Tromey <tom@tromey.com>
227 * marshall.hh (cc1_plugin::unmarshall): Use type traits.
228 * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
229 * marshall-c.hh: Remove.
230 * libcc1plugin.cc: Update includes.
231 * libcc1.cc: Update includes.
233 2021-05-03 H.J. Lu <hjl.tools@gmail.com>
236 * configure: Regenerated.
238 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
240 * configure: Re-generate.
242 2020-12-18 Jakub Jelinek <jakub@redhat.com>
245 * configure.ac: Set darwin_dynamic_lookup=no instead to empty
247 * configure: Regenerated.
249 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
252 * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
253 * configure.ac: Test for Darwin host and set a flag.
254 * Makefile.in: Regenerate.
255 * configure: Regenerate.
257 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
259 * configure: Regenerate.
261 2020-11-11 Patrick Palka <ppalka@redhat.com>
264 * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
265 cxx_sizeof_or_alignof_expr.
267 2020-11-10 Marek Polacek <polacek@redhat.com>
270 * libcp1plugin.cc (plugin_add_static_assert): Pass false to
271 finish_static_assert.
273 2020-11-06 Nathan Sidwell <nathan@acm.org>
275 * libcc1plugin.cc (address_rewriter): Rename
276 DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
277 * libcp1plugin.cc (supplement_binding): Likewise.
279 2020-10-14 Nathan Sidwell <nathan@acm.org>
281 * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
283 2020-10-07 Nathan Sidwell <nathan@acm.org>
285 * libcp1plugin.cc (supplement_binding): Rename
288 2020-10-02 Nathan Sidwell <nathan@acm.org>
290 * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
292 2020-09-25 Nathan Sidwell <nathan@acm.org>
294 * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
296 2020-09-24 Nathan Sidwell <nathan@acm.org>
298 * libcp1plugin.cc (supplement_binding): Drop default args to
300 (safe_pushtag): Drop scope parm. Drop default args to pushtag.
301 (safe_pushdecl_maybe_friend): Rename to ...
302 (safe_pushdecl): ... here. Drop is_friend parm. Drop default args
304 (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
305 (plugin_build_constant): Adjust safe_pushdecl call.
307 2020-09-10 Nathan Sidwell <nathan@acm.org>
309 * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
311 2020-08-14 Nathan Sidwell <nathan@acm.org>
313 * libcp1plugin.cc (plugin_build_dependent_expr): Rename
314 lookup_name_real call.
316 2020-08-14 Nathan Sidwell <nathan@acm.org>
318 * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
319 lookup_name_real call.
321 2020-08-14 Nathan Sidwell <nathan@acm.org>
323 * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
324 lookup_name_real & lookup_qualified_name calls.
326 2020-08-13 Nathan Sidwell <nathan@acm.org>
328 * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
330 2020-07-30 H.J. Lu <hjl.tools@gmail.com>
333 * configure: Regenerated.
335 2020-06-30 Nathan Sidwell <nathan@acm.org>
337 * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
340 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
343 * configure: Regenerated.
345 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
347 * configure: Regenerated.
349 2020-05-12 H.J. Lu <hongjiu.lu@intel.com>
351 * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
352 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
353 AC_SUBST(CET_HOST_FLAGS).
354 * Makefile.in: Regenerated.
355 * aclocal.m4: Likewise.
356 * configure: Likewise.
358 2020-02-12 Patrick Palka <ppalka@redhat.com>
362 * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
363 AUTO_IS_DECLTYPE anymore.
365 2020-01-07 Paolo Carlini <paolo.carlini@oracle.com>
367 * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
369 2020-01-01 Jakub Jelinek <jakub@redhat.com>
371 Update copyright years.
373 2019-12-30 Paolo Carlini <paolo.carlini@oracle.com>
375 * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
378 2019-12-18 Paolo Carlini <paolo.carlini@oracle.com>
380 * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
381 and cxx_sizeof_or_alignof_expr calls.
382 (plugin_build_unary_type_expr): Likewise for
383 cxx_sizeof_or_alignof_type.
385 2019-12-09 Paolo Carlini <paolo.carlini@oracle.com>
387 * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
390 2019-12-05 Paolo Carlini <paolo.carlini@oracle.com>
392 * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
393 build_functional_cast call.
395 2019-11-25 Paolo Carlini <paolo.carlini@oracle.com>
397 * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
398 cp_build_indirect_ref call.
400 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
402 * configure: Regenerate.
404 2019-05-21 Nathan Sidwell <nathan@acm.org>
406 * libcp1plugin.cc (plugin_add_using_decl): Use
407 finish_nonmember_using_decl.
409 2019-05-20 Nathan Sidwell <nathan@acm.org>
411 * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
412 finish_using_directive.
414 2019-01-01 Jakub Jelinek <jakub@redhat.com>
416 Update copyright years.
418 2018-11-13 David Malcolm <dmalcolm@redhat.com>
420 * libcc1plugin.cc: Replace "source_location" with "location_t".
421 (plugin_context::get_source_location): Rename to...
422 (plugin_context::get_location_t): ...this.
423 * libcp1plugin.cc: Likewise.
425 2018-10-31 Joseph Myers <joseph@codesourcery.com>
428 * configure.ac: Remove AC_PREREQ.
429 * Makefile.in, aclocal.m4, configure: Regenerate.
431 2018-04-18 David Malcolm <dmalcolm@redhat.com>
434 * configure: Regenerate.
436 2018-01-03 Jakub Jelinek <jakub@redhat.com>
438 Update copyright years.
440 2017-11-14 Boris Kolpackov <boris@codesynthesis.com>
442 * configure: Regenerate.
444 2017-11-16 Sergio Durigan Junior <sergiodj@redhat.com>
445 Pedro Alves <palves@redhat.com>
447 * Makefile.am: Remove references to c-compiler-name.h and
449 * Makefile.in: Regenerate.
450 * compiler-name.hh: New file.
451 * libcc1.cc: Don't include c-compiler-name.h. Include
453 * libcp1.cc: Don't include cp-compiler-name.h. Include
456 2017-11-01 Nathan Sidwell <nathan@acm.org>
458 * libcp1plugin.cc (plugin_build_decl): Use
459 DECL_OVERLOADED_OPERATOR_CODE_RAW.
461 2017-10-31 Nathan Sidwell <nathan@acm.org>
463 * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
464 Directly set operator code.
465 (plugin_build_dependent_expr): Use ovl_op_identifier.
467 2017-10-04 Nathan Sidwell <nathan@acm.org>
469 * libcp1plugin.cc (supplement_binding): Don't use
470 maybe_remove_implicit_alias.
472 2017-07-20 Nathan Sidwell <nathan@acm.org>
475 * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
477 2017-07-12 Nathan Sidwell <nathan@acm.org>
479 * libcp1plugin.cc (plugin_build_decl): Use
480 DECL_CXX_{CON,DE}STRUCTOR directly.
482 2017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
484 * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
486 2017-06-30 Nathan Sidwell <nathan@acm.org>
488 * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
489 (plugin_build_dependent_expr): Likewise.
491 2017-06-26 Nathan Sidwell <nathan@acm.org>
493 * libcp1plugin.cc (plugin_build_decl): Don't set
494 DECL_ASSIGNMENT_OPERATOR_P.
496 2017-06-16 Nathan Sidwell <nathan@acm.org>
498 * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
500 2017-05-26 Nathan Sidwell <nathan@acm.org>
502 * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
504 * libcp1plugin.cc (plugin_add_using_namespace): Call
505 finish_namespace_using_directive.
507 2017-05-25 Nathan Sidwell <nathan@acm.org>
509 * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
510 DECL_NAMESPACE_INLINE_P.
512 2017-05-23 Nathan Sidwell <nathan@acm.org>
514 * libcp1plugin.cc (plugin_add_using_decl): Call
515 finish_namespace_using_decl. Use assert not unreachable.
517 2017-05-11 Nathan Sidwell <nathan@acm.org>
519 * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
521 2017-05-10 Nathan Sidwell <nathan@acm.org>
523 * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
525 2017-04-15 Alexandre Oliva <aoliva@redhat.com>
527 * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
529 2017-01-30 Alexandre Oliva <aoliva@redhat.com>
531 Introduce C++ support.
532 * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
533 (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
535 (plugin_LTLIBRARIES): Add libcp1plugin.la.
536 (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
537 (cp-compiler-name.h): ... this. New.
538 (c-compiler-name.h): Rename all over from...
539 (compiler-name.h): ... this. Create it atomically.
540 (marshall_c_source, marshall_cxx_source): New macros.
541 (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
542 Add marshall_c_source expansion.
543 (libcc1plugin.lo_CPPFLAGS): New macro.
544 (libcp1plugin_la_LDFLAGS): Likewise.
545 (libcp1plugin_la_SOURCES): Likewise.
546 (libcp1plugin.lo_CPPFLAGS): Likewise.
547 (libcp1plugin_la_LIBADD): Likewise.
548 (libcp1plugin_la_DEPENDENCIES): Likewise.
549 (libcp1plugin_la_LINK): Likewise.
550 (libcc1_la_SOURCES): Added marshall_c_source and
551 marshall_cxx_source expansions.
552 * Makefile.in: Rebuild.
553 * compiler-name.h: Rename all over to...
554 * c-compiler-name.h: ... this. Define C_COMPILER_NAME instead
556 * plugin.cc: Rename all over to...
557 * libcc1plugin.cc: ... this. Include marshall-c.hh.
558 (address_rewriter): Drop cleaning up of VLA sizes.
559 (plugin_build_decl): Mark decls as external.
560 (plugin_tagbind): Propagate name to all variants.
561 (build_anonymous_node): New.
562 (plugin_build_record_type): Use it instead of make_node.
563 (plugin_build_union_type): Likewise.
564 (plugin_build_enum_type): Likewise.
565 (plugin_finish_record_or_union): Update all type variants.
566 (safe_lookup_builtin_type): New.
567 (plugin_int_check): Factor out of, and add checks to, ...
568 (plugin_int_type): ... this. Rename to...
569 (plugin_int_type_v0): ... this.
570 (plugin_int_type): New interface, new implementation.
571 (plugin_char_type): New.
572 (plugin_float_type_v0): Rename from...
573 (plugin_float_type): ... this. New interface, new implementation.
574 (plugin_init): Bump handshake version.
575 * libcc1.cc: Include marshall-c.hh. Drop gcc-interface.h.
576 (call_binding_oracle): Rename to...
577 (c_call_binding_oracle): ... this, into anonymous namespace.
578 (call_symbol_address): Rename to...
579 (c_call_symbol_address): ... this, likewise.
580 (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
581 (libcc1::compiler::find): Refer to C_COMPILER_NAME.
582 (fork_exec): Bump to GCC_C_FE_VERSION_1.
583 (libcc1_compile): Prefix callbacks with c_.
584 (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
585 * libcc1.sym: Export gcc_cp_fe_context.
586 * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
587 * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
588 * libcp1plugin.sym: New.
589 * marshall-c.hh: New. Move C-specific types from...
590 * marshall.cc: ... this.
591 (cc1_plugin::marshall_array_start): New.
592 (cc1_plugin::marshall_array_elmts): New.
593 (cc1_plugin::marshall for gcc_type_array): Use the above.
594 (cc1_plugin::unmarshall_array_start): New.
595 (cc1_plugin::unmarshall_array_elmts): New.
596 (cc1_plugin::unmarshall for gcc_type_array): Use the above.
597 * marshall.hh: Declare the new array building blocks.
598 Drop C-specific unmarshall declarations.
599 * marshall-cp.hh: New.
600 * names.cc (GCC_METHOD#): Add LANG:: to method names.
601 (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
602 * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
603 corresponding namespaces.
604 * rpc.hh: Don't include marshall.hh.
605 [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
606 gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
608 2017-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
610 * findcomp.cc: Include system.h.
611 (search_dir): Return absolute filename.
613 * libcc1.cc (libcc1): Add class compiler with field compilerp,
614 class compiler_triplet_regexp and class
615 compiler_driver_filename.
616 (libcc1::libcc1): Initialize compilerp.
617 (libcc1::~libcc1): Delete compilerp.
618 (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
619 (libcc1::compiler_driver_filename::find): New methods.
620 (libcc1_set_arguments): Remove parameter triplet_regexp.
621 (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
622 (libcc1_set_arguments_v0): New functions.
623 (vtable): Use libcc1_set_arguments_v0, add
624 libcc1_set_arguments, libcc1_set_triplet_regexp and
625 libcc1_set_driver_filename.
627 * libcc1.cc: Include intl.h.
628 (struct libcc1): Add field verbose.
629 (libcc1::libcc1): Initialize it.
630 (libcc1_set_verbose): New function.
631 (libcc1_set_arguments): Print messages for VERBOSE.
632 (libcc1_compile): Remove parameter verbose. Use VERBOSE from
634 (libcc1_compile_v0): New function.
635 (vtable): Use libcc1_compile_v0 and add libcc1_compile and
638 * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
639 (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
641 2017-01-17 Jakub Jelinek <jakub@redhat.com>
644 * configure.ac: Add GCC_BASE_VER. For --with-gcc-major-version-only
645 use just major number from BASE-VER.
646 * configure: Regenerated.
647 * Makefile.in: Regenerated.
649 2017-01-04 Jakub Jelinek <jakub@redhat.com>
651 Update copyright years.
653 2016-11-18 Richard Sandiford <richard.sandiford@arm.com>
654 Alan Hayward <alan.hayward@arm.com>
655 David Sherwood <david.sherwood@arm.com>
657 * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
659 2016-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
663 2016-04-18 Michael Matz <matz@suse.de>
665 * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
667 2016-04-11 Segher Boessenkool <segher@kernel.crashing.org>
670 * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
671 (compiler-name.h): Shorten recipe so that it fits the line.
672 * Makefile.in: Regenerate.
674 2016-03-14 Andreas Schwab <schwab@suse.de>
676 * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
677 * configure: Regenerate.
678 * Makefile.in: Regenerate.
680 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
682 * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
683 rather than typed_free_remove. Remove redudant typedefs.
685 2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
687 * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
688 than typed_noop_remove. Remove redudant typedefs.
689 (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
690 (plugin_context::mark): Likewise.
692 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
694 * Makefile.in: Regenerated with automake-1.11.6.
695 * aclocal.m4: Likewise.
696 * configure: Likewise.
698 2015-04-18 Trevor Saunders <tsaunders@mozilla.com>
700 * plugin.cc: Adjust for hash_table changes.
702 2015-04-15 Andreas Schwab <schwab@suse.de>
705 * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
706 * Makefile.in: Regenerated.
708 2015-01-30 Joseph Myers <joseph@codesourcery.com>
710 * plugin.cc: All callers of fatal_error changed to pass
711 input_location as first argument.
713 2015-01-09 Michael Collison <michael.collison@linaro.org>
715 * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
716 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
717 due to flattening of tree.h.
719 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
722 * configure: Regenerated.
724 2014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
726 * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
727 * configure: Regenerate.
728 * connection.cc: Include <string.h>.
729 * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
731 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
734 * configure: Regenerate.
736 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
740 * plugin.cc: Don't include <string>.
742 2014-10-29 Jakub Jelinek <jakub@redhat.com>
743 Phil Muldoon <pmuldoon@redhat.com>
745 * configure.ac: Remove -Werror addition to WARN_FLAGS. Add
746 ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
747 * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
748 (WERROR_FLAG): Remove.
749 (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
750 * configure: Regenerated.
751 * Makefile.in: Regenerated.
753 2014-10-29 Jakub Jelinek <jakub@redhat.com>
755 * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
756 (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
758 (libiberty): Set to -Wc, followed by the first existing noasan/,
759 pic/ or . libiberty.a.
760 (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
761 libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
762 * Makefile.in: Regenerated.
764 2014-10-27 Phil Muldoon <pmuldoon@redhat.com>
765 Jan Kratochvil <jan.kratochvil@redhat.com>
766 Tom Tromey <tromey@redhat.com>
768 * aclocal.m4: New file.
769 * callbacks.cc: New file.
770 * callbacks.hh: New file.
771 * cc1plugin-config.h.in: New file.
772 * configure: New file.
773 * configure.ac: New file.
774 * connection.cc: New file.
775 * connection.hh: New file.
776 * findcomp.cc: New file.
777 * findcomp.hh: New file.
778 * libcc1.cc: New file.
779 * libcc1plugin.sym: New file.
780 * libcc1.sym: New file.
781 * Makefile.am: New file.
782 * Makefile.in: New file.
783 * marshall.cc: New file.
784 * marshall.hh: New file.
785 * names.cc: New file.
786 * names.hh: New file.
787 * plugin.cc: New file.
789 * status.hh: New file.