Suppress -fstack-protector warning on hppa.
[official-gcc.git] / libcc1 / ChangeLog
blob4462625c2eb726ea0ace428ec736310bfd4c9dfd
1 2022-11-01  Nathan Sidwell  <nathan@acm.org>
3         * libcp1plugin.cc (plugin_start_lambda_closure_class_type):
4         Initialize the per-scope, per-signature discriminator.
6 2022-11-01  Nathan Sidwell  <nathan@acm.org>
8         * libcp1plugin.cc (plugin_start_closure): Adjust.
10 2022-10-12  Martin Liska  <mliska@suse.cz>
12         * configure: Regenerate.
14 2022-10-11  Olivier Hainque  <hainque@adacore.com>
15             Olivier Hainque  <hainque@adacore.com>
17         * configure: Regenerate.
19 2022-06-27  Sergei Trofimovich  <siarheit@google.com>
21         PR c++/106102
22         * libcc1plugin.cc: Include <memory> via "system.h".
23         * libcp1plugin.cc: Ditto.
25 2022-06-01  David Seifert  <soap@gentoo.org>
27         PR plugins/95648
28         * configure: Regenerate.
30 2021-12-16  Patrick Palka  <ppalka@redhat.com>
32         PR c++/51577
33         PR c++/83035
34         PR c++/100465
35         * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
36         build_x_unary_op.
37         (plugin_build_binary_expr): Adjust call to build_x_binary_op.
39 2021-12-15  Iain Sandoe  <iain@sandoe.co.uk>
41         * configure: Regenerate.
43 2021-08-17  Iain Sandoe  <iain@sandoe.co.uk>
45         * Makefile.am: Switch mdynamic-no-pic to fPIC.
46         * Makefile.in: Regenerated.
48 2021-06-28  Martin Sebor  <msebor@redhat.com>
50         * libcp1plugin.cc (record_decl_address): Replace a direct use
51         of TREE_NO_WARNING with suppress_warning.
53 2021-05-05  Tom Tromey  <tom@tromey.com>
55         * compiler.cc (make_regexp): Take const std::string.
56         (cc1_plugin::compiler_triplet_regexp::find): Update.
58 2021-05-05  Tom Tromey  <tom@tromey.com>
60         PR c/94669
61         * compiler.hh (compiler_driver_filename): Take const char *.
62         (compiler_triplet_regexp): Likewise.
64 2021-05-05  Tom Tromey  <tom@tromey.com>
66         * rpc.hh (argument_wrapper) <get>: Replace cast operator.
67         (argument_wrapper<T *>) <get>: Likewise.
68         (unmarshall): Add std::tuple overloads.
69         (callback): Remove.
70         (class invoker): New.
71         * libcp1plugin.cc (plugin_init): Update.
72         * libcp1.cc (libcp1::add_callbacks): Update.
73         * libcc1plugin.cc (plugin_init): Update.
74         * libcc1.cc (libcc1::add_callbacks): Update.
75         * connection.cc (cc1_plugin::connection::do_wait): Update.
77 2021-05-05  Tom Tromey  <tom@tromey.com>
79         * gdbctx.hh (do_compile): Use std::vector.
81 2021-05-05  Tom Tromey  <tom@tromey.com>
83         * libcp1.cc (libcp1): Change parameters.  Update.
84         (libcp1_set_verbose, libcp1_set_arguments)
85         (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
86         (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
87         (libcp1_compile, libcp1_destroy, vtable): Remove.
88         (libcp1::add_callbacks): New method, extracted from
89         libcp1_compile.
90         (gcc_c_fe_context): Update.
91         * libcc1.cc (libcc1): Change parameters.  Update.
92         (libcc1_set_verbose, libcc1_set_arguments)
93         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
94         (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
95         (libcc1_compile, libcc1_destroy, vtable): Remove.
96         (libcc1::add_callbacks): New method, extracted from
97         libcc1_compile.
98         (gcc_c_fe_context): Update.
99         * gdbctx.hh (base_gdb_plugin): Change parameters.
100         (~base_gdb_plugin): New.
101         <add_callbacks>: New virtual method.
102         <plugin_name, fe_version, compiler_name, vtable>: New members.
103         (get_self, do_set_verbose, do_set_arguments)
104         (do_set_triplet_regexp, do_set_driver_filename)
105         (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
106         (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
108 2021-05-05  Tom Tromey  <tom@tromey.com>
110         * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
112 2021-05-05  Tom Tromey  <tom@tromey.com>
114         * libcp1.cc (struct libcp1): Derive from base_gdb_plugin.  Remove
115         shared code.
116         (class libcp1_connection): Remove.
117         (rpc): Remove.
118         (libcp1_set_verbose, libcp1_compile): Update.
119         (cp_call_binding_oracle, cp_call_symbol_address)
120         (cp_call_enter_scope, cp_call_leave_scope): Update.
121         * libcc1.cc (struct libcc1): Derive from base_gdb_plugin.  Remove
122         shared code.
123         (class libcc1_connection): Remove.
124         (c_call_binding_oracle, c_call_symbol_address): Update.
125         (rpc): Remove.
126         (libcc1_set_verbose, libcc1_compile): Update.
127         * gdbctx.hh: New file.
129 2021-05-05  Tom Tromey  <tom@tromey.com>
131         * libcc1plugin.cc: Move code to context.cc.
132         * libcp1plugin.cc: Move code to context.cc.
133         * context.hh: New file.
134         * context.cc: New file.
135         * Makefile.in: Rebuild.
136         * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
137         (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
138         (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
139         (libcp1plugin_la_SOURCES): Likewise.
141 2021-05-05  Tom Tromey  <tom@tromey.com>
143         * libcp1plugin.cc: Use static assert.
145 2021-05-05  Tom Tromey  <tom@tromey.com>
147         * libcp1plugin.cc (plugin_context::mark): Use foreach.
148         * libcc1plugin.cc (plugin_context::mark): Use foreach.
150 2021-05-05  Tom Tromey  <tom@tromey.com>
152         * libcp1.cc (compiler, compiler_triplet_regexp)
153         (compiler_driver_filename): Remove.
154         (libcp1::libcp1): Update.
155         (make_regexp, libcp1::compiler::find)
156         (libcp1::compiler_triplet_regexp::find)
157         (libcp1::compiler_driver_filename::find): Remove.
158         (libcp1_set_verbose, libcp1_set_arguments)
159         (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
160         * libcc1.cc (compiler, compiler_triplet_regexp)
161         (compiler_driver_filename): Remove.
162         (libcc1::libcc1): Update.
163         (make_regexp, libcc1::compiler::find)
164         (libcc1::compiler_triplet_regexp::find)
165         (libcc1::compiler_driver_filename::find): Remove.
166         (libcc1_set_verbose, libcc1_set_arguments)
167         (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
168         * compiler.cc: New file.
169         * compiler.hh: New file.
170         * Makefile.in: Rebuild.
171         * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
173 2021-05-05  Tom Tromey  <tom@tromey.com>
175         * libcp1.cc (struct libcp1) <connection, compilerp>: Use
176         unique_ptr.
177         (~libcp1): Remove.
178         (libcp1_compile, libcp1_set_triplet_regexp)
179         (libcp1_set_driver_filename): Update.
180         * libcc1.cc (struct libcc1) <connection, compilerp>: Use
181         unique_ptr.
182         (~libcc1): Remove.
183         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
184         (libcc1_compile): Update.
186 2021-05-05  Tom Tromey  <tom@tromey.com>
188         * rpc.hh (deleter): Move template and some specializations to
189         deleter.hh.
190         (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
191         * marshall.cc (cc1_plugin::unmarshall): Use
192         cc1_plugin::unique_ptr.
193         * marshall-cp.hh (deleter): New specializations.
194         (unmarshall): Use cc1_plugin::unique_ptr.
195         * deleter.hh: New file.
197 2021-05-05  Tom Tromey  <tom@tromey.com>
199         * rpc.hh (struct deleter): New template class and
200         specializations.
201         (argument_wrapper): Remove specializations.  Add specialization
202         for any pointer type.
204 2021-05-05  Tom Tromey  <tom@tromey.com>
206         * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
207         * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
209 2021-05-05  Tom Tromey  <tom@tromey.com>
211         * libcp1.cc (rpc): Use variadic template.  Remove overloads.
212         * libcc1.cc (rpc): Use variadic template.  Remove overloads.
214 2021-05-05  Tom Tromey  <tom@tromey.com>
216         * rpc.hh (call): Use variadic template.  Remove overloads.
217         * marshall.hh (marshall): Add base overload.  Use variadic
218         template.
220 2021-05-05  Tom Tromey  <tom@tromey.com>
222         * rpc.hh (argument_wrapper): Use delete for copy constructor.
223         * connection.hh (class connection): Use delete for copy
224         constructor.
225         * callbacks.hh (class callbacks): Use delete for copy constructor.
227 2021-05-05  Tom Tromey  <tom@tromey.com>
229         * connection.hh (~connection): Use default.
230         (print): Inline.
231         * connection.cc (cc1_plugin::connection::~connection)
232         (cc1_plugin::connection::print): Remove definitions.
234 2021-05-05  Tom Tromey  <tom@tromey.com>
236         * libcp1.cc (class compiler_triplet_regexp)
237         (class compiler_driver_filename, class libcp1_connection): Use
238         "override".
239         * libcc1.cc (class compiler_triplet_regexp)
240         (class compiler_driver_filename, class libcc1_connection): Use
241         "override".
243 2021-05-05  Tom Tromey  <tom@tromey.com>
245         * marshall.hh (cc1_plugin::unmarshall): Use type traits.
246         * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
247         * marshall-c.hh: Remove.
248         * libcc1plugin.cc: Update includes.
249         * libcc1.cc: Update includes.
251 2021-05-03  H.J. Lu  <hjl.tools@gmail.com>
253         PR bootstrap/99703
254         * configure: Regenerated.
256 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
258         * configure: Re-generate.
260 2020-12-18  Jakub Jelinek  <jakub@redhat.com>
262         PR bootstrap/98380
263         * configure.ac: Set darwin_dynamic_lookup=no instead to empty
264         string.
265         * configure: Regenerated.
267 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
269         PR target/97865
270         * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
271         * configure.ac: Test for Darwin host and set a flag.
272         * Makefile.in: Regenerate.
273         * configure: Regenerate.
275 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
277         * configure: Regenerate.
279 2020-11-11  Patrick Palka  <ppalka@redhat.com>
281         PR c++/88115
282         * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
283         cxx_sizeof_or_alignof_expr.
285 2020-11-10  Marek Polacek  <polacek@redhat.com>
287         PR c++/97518
288         * libcp1plugin.cc (plugin_add_static_assert): Pass false to
289         finish_static_assert.
291 2020-11-06  Nathan Sidwell  <nathan@acm.org>
293         * libcc1plugin.cc (address_rewriter): Rename
294         DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
295         * libcp1plugin.cc (supplement_binding): Likewise.
297 2020-10-14  Nathan Sidwell  <nathan@acm.org>
299         * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
301 2020-10-07  Nathan Sidwell  <nathan@acm.org>
303         * libcp1plugin.cc (supplement_binding): Rename
304         DECL_BUILTIN_P.
306 2020-10-02  Nathan Sidwell  <nathan@acm.org>
308         * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
310 2020-09-25  Nathan Sidwell  <nathan@acm.org>
312         * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
314 2020-09-24  Nathan Sidwell  <nathan@acm.org>
316         * libcp1plugin.cc (supplement_binding): Drop default args to
317         duplicate_decls.
318         (safe_pushtag): Drop scope parm.  Drop default args to pushtag.
319         (safe_pushdecl_maybe_friend): Rename to ...
320         (safe_pushdecl): ... here. Drop is_friend parm.  Drop default args
321         to pushdecl.
322         (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
323         (plugin_build_constant): Adjust safe_pushdecl call.
325 2020-09-10  Nathan Sidwell  <nathan@acm.org>
327         * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
329 2020-08-14  Nathan Sidwell  <nathan@acm.org>
331         * libcp1plugin.cc (plugin_build_dependent_expr): Rename
332         lookup_name_real call.
334 2020-08-14  Nathan Sidwell  <nathan@acm.org>
336         * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
337         lookup_name_real call.
339 2020-08-14  Nathan Sidwell  <nathan@acm.org>
341         * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
342         lookup_name_real & lookup_qualified_name calls.
344 2020-08-13  Nathan Sidwell  <nathan@acm.org>
346         * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
348 2020-07-30  H.J. Lu  <hjl.tools@gmail.com>
350         PR bootstrap/96202
351         * configure: Regenerated.
353 2020-06-30  Nathan Sidwell  <nathan@acm.org>
355         * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
356         call.
358 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
360         PR bootstrap/95413
361         * configure: Regenerated.
363 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
365         * configure: Regenerated.
367 2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
369         * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
370         * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
371         AC_SUBST(CET_HOST_FLAGS).
372         * Makefile.in: Regenerated.
373         * aclocal.m4: Likewise.
374         * configure: Likewise.
376 2020-02-12  Patrick Palka  <ppalka@redhat.com>
378         PR c++/69448
379         PR c++/80471
380         * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
381         AUTO_IS_DECLTYPE anymore.
383 2020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
385         * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
387 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
389         Update copyright years.
391 2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
393         * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
394         call.
396 2019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
398         * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
399         and cxx_sizeof_or_alignof_expr calls.
400         (plugin_build_unary_type_expr): Likewise for
401         cxx_sizeof_or_alignof_type.
403 2019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
405         * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
406         declaration.
408 2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
410         * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
411         build_functional_cast call.
413 2019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
415         * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
416         cp_build_indirect_ref call.
418 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
420         * configure: Regenerate.
422 2019-05-21  Nathan Sidwell  <nathan@acm.org>
424         * libcp1plugin.cc (plugin_add_using_decl): Use
425         finish_nonmember_using_decl.
427 2019-05-20  Nathan Sidwell  <nathan@acm.org>
429         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
430         finish_using_directive.
432 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
434         Update copyright years.
436 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
438         * libcc1plugin.cc: Replace "source_location" with "location_t".
439         (plugin_context::get_source_location): Rename to...
440         (plugin_context::get_location_t): ...this.
441         * libcp1plugin.cc: Likewise.
443 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
445         PR bootstrap/82856
446         * configure.ac: Remove AC_PREREQ.
447         * Makefile.in, aclocal.m4, configure: Regenerate.
449 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
451         PR jit/85384
452         * configure: Regenerate.
454 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
456         Update copyright years.
458 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
460         * configure: Regenerate.
462 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
463             Pedro Alves  <palves@redhat.com>
465         * Makefile.am: Remove references to c-compiler-name.h and
466         cp-compiler-name.h
467         * Makefile.in: Regenerate.
468         * compiler-name.hh: New file.
469         * libcc1.cc: Don't include c-compiler-name.h.  Include
470         compiler-name.hh.
471         * libcp1.cc: Don't include cp-compiler-name.h.  Include
472         compiler-name.hh.
474 2017-11-01  Nathan Sidwell  <nathan@acm.org>
476         * libcp1plugin.cc (plugin_build_decl): Use
477         DECL_OVERLOADED_OPERATOR_CODE_RAW.
479 2017-10-31  Nathan Sidwell  <nathan@acm.org>
481         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
482         Directly set operator code.
483         (plugin_build_dependent_expr): Use ovl_op_identifier.
485 2017-10-04  Nathan Sidwell  <nathan@acm.org>
487         * libcp1plugin.cc (supplement_binding): Don't use
488         maybe_remove_implicit_alias.
490 2017-07-20  Nathan Sidwell  <nathan@acm.org>
492         Remove TYPE_METHODS.
493         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
495 2017-07-12  Nathan Sidwell  <nathan@acm.org>
497         * libcp1plugin.cc (plugin_build_decl): Use
498         DECL_CXX_{CON,DE}STRUCTOR directly.
500 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
502         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
504 2017-06-30  Nathan Sidwell  <nathan@acm.org>
506         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
507         (plugin_build_dependent_expr): Likewise.
509 2017-06-26  Nathan Sidwell  <nathan@acm.org>
511         * libcp1plugin.cc (plugin_build_decl): Don't set
512         DECL_ASSIGNMENT_OPERATOR_P.
514 2017-06-16  Nathan Sidwell  <nathan@acm.org>
516         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
518 2017-05-26  Nathan Sidwell  <nathan@acm.org>
520         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
522         * libcp1plugin.cc (plugin_add_using_namespace): Call
523         finish_namespace_using_directive.
525 2017-05-25  Nathan Sidwell  <nathan@acm.org>
527         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
528         DECL_NAMESPACE_INLINE_P.
530 2017-05-23  Nathan Sidwell  <nathan@acm.org>
532         * libcp1plugin.cc (plugin_add_using_decl): Call
533         finish_namespace_using_decl.  Use assert not unreachable.
535 2017-05-11  Nathan Sidwell  <nathan@acm.org>
537         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
539 2017-05-10  Nathan Sidwell  <nathan@acm.org>
541         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
543 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
545         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
547 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
549         Introduce C++ support.
550         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
551         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
552         new macros.
553         (plugin_LTLIBRARIES): Add libcp1plugin.la.
554         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
555         (cp-compiler-name.h): ... this.  New.
556         (c-compiler-name.h): Rename all over from...
557         (compiler-name.h): ... this.  Create it atomically.
558         (marshall_c_source, marshall_cxx_source): New macros.
559         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
560         Add marshall_c_source expansion.
561         (libcc1plugin.lo_CPPFLAGS): New macro.
562         (libcp1plugin_la_LDFLAGS): Likewise.
563         (libcp1plugin_la_SOURCES): Likewise.
564         (libcp1plugin.lo_CPPFLAGS): Likewise.
565         (libcp1plugin_la_LIBADD): Likewise.
566         (libcp1plugin_la_DEPENDENCIES): Likewise.
567         (libcp1plugin_la_LINK): Likewise.
568         (libcc1_la_SOURCES): Added marshall_c_source and
569         marshall_cxx_source expansions.
570         * Makefile.in: Rebuild.
571         * compiler-name.h: Rename all over to...
572         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
573         of COMPILER_NAME.
574         * plugin.cc: Rename all over to...
575         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
576         (address_rewriter): Drop cleaning up of VLA sizes.
577         (plugin_build_decl): Mark decls as external.
578         (plugin_tagbind): Propagate name to all variants.
579         (build_anonymous_node): New.
580         (plugin_build_record_type): Use it instead of make_node.
581         (plugin_build_union_type): Likewise.
582         (plugin_build_enum_type): Likewise.
583         (plugin_finish_record_or_union): Update all type variants.
584         (safe_lookup_builtin_type): New.
585         (plugin_int_check): Factor out of, and add checks to, ...
586         (plugin_int_type): ... this.  Rename to...
587         (plugin_int_type_v0): ... this.
588         (plugin_int_type): New interface, new implementation.
589         (plugin_char_type): New.
590         (plugin_float_type_v0): Rename from...
591         (plugin_float_type): ... this.  New interface, new implementation.
592         (plugin_init): Bump handshake version.
593         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
594         (call_binding_oracle): Rename to...
595         (c_call_binding_oracle): ... this, into anonymous namespace.
596         (call_symbol_address): Rename to...
597         (c_call_symbol_address): ... this, likewise.
598         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
599         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
600         (fork_exec): Bump to GCC_C_FE_VERSION_1.
601         (libcc1_compile): Prefix callbacks with c_.
602         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
603         * libcc1.sym: Export gcc_cp_fe_context.
604         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
605         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
606         * libcp1plugin.sym: New.
607         * marshall-c.hh: New.  Move C-specific types from...
608         * marshall.cc: ... this.
609         (cc1_plugin::marshall_array_start): New.
610         (cc1_plugin::marshall_array_elmts): New.
611         (cc1_plugin::marshall for gcc_type_array): Use the above.
612         (cc1_plugin::unmarshall_array_start): New.
613         (cc1_plugin::unmarshall_array_elmts): New.
614         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
615         * marshall.hh: Declare the new array building blocks.
616         Drop C-specific unmarshall declarations.
617         * marshall-cp.hh: New.
618         * names.cc (GCC_METHOD#): Add LANG:: to method names.
619         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
620         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
621         corresponding namespaces.
622         * rpc.hh: Don't include marshall.hh.
623         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
624         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
626 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
628         * findcomp.cc: Include system.h.
629         (search_dir): Return absolute filename.
631         * libcc1.cc (libcc1): Add class compiler with field compilerp,
632         class compiler_triplet_regexp and class
633         compiler_driver_filename.
634         (libcc1::libcc1): Initialize compilerp.
635         (libcc1::~libcc1): Delete compilerp.
636         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
637         (libcc1::compiler_driver_filename::find): New methods.
638         (libcc1_set_arguments): Remove parameter triplet_regexp.
639         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
640         (libcc1_set_arguments_v0): New functions.
641         (vtable): Use libcc1_set_arguments_v0, add
642         libcc1_set_arguments, libcc1_set_triplet_regexp and
643         libcc1_set_driver_filename.
645         * libcc1.cc: Include intl.h.
646         (struct libcc1): Add field verbose.
647         (libcc1::libcc1): Initialize it.
648         (libcc1_set_verbose): New function.
649         (libcc1_set_arguments): Print messages for VERBOSE.
650         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
651         SELF.
652         (libcc1_compile_v0): New function.
653         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
654         libcc1_set_verbose.
656         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
657         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
659 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
661         PR other/79046
662         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
663         use just major number from BASE-VER.
664         * configure: Regenerated.
665         * Makefile.in: Regenerated.
667 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
669         Update copyright years.
671 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
672             Alan Hayward  <alan.hayward@arm.com>
673             David Sherwood  <david.sherwood@arm.com>
675         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
677 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
679         Update copyrights.
681 2016-04-18  Michael Matz  <matz@suse.de>
683         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
685 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
687         PR bootstrap/70173
688         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
689         (compiler-name.h): Shorten recipe so that it fits the line.
690         * Makefile.in: Regenerate.
692 2016-03-14  Andreas Schwab  <schwab@suse.de>
694         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
695         * configure: Regenerate.
696         * Makefile.in: Regenerate.
698 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
700         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
701         rather than typed_free_remove.  Remove redudant typedefs.
703 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
705         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
706         than typed_noop_remove.  Remove redudant typedefs.
707         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
708         (plugin_context::mark): Likewise.
710 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
712         * Makefile.in: Regenerated with automake-1.11.6.
713         * aclocal.m4: Likewise.
714         * configure: Likewise.
716 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
718         * plugin.cc: Adjust for hash_table changes.
720 2015-04-15  Andreas Schwab  <schwab@suse.de>
722         PR bootstrap/65763
723         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
724         * Makefile.in: Regenerated.
726 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
728         * plugin.cc: All callers of fatal_error changed to pass
729         input_location as first argument.
731 2015-01-09  Michael Collison  <michael.collison@linaro.org>
733         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
734         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
735         due to flattening of tree.h.
737 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
739         PR bootstrap/63784
740         * configure: Regenerated.
742 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
744         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
745         * configure: Regenerate.
746         * connection.cc: Include <string.h>.
747         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
749 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
751         PR target/63610
752         * configure: Regenerate.
754 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
756         PR bootstrap/63699
757         PR bootstrap/63750
758         * plugin.cc: Don't include <string>.
760 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
761             Phil Muldoon  <pmuldoon@redhat.com>
763         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
764         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
765         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
766         (WERROR_FLAG): Remove.
767         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
768         * configure: Regenerated.
769         * Makefile.in: Regenerated.
771 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
773         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
774         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
775         New variables.
776         (libiberty): Set to -Wc, followed by the first existing noasan/,
777         pic/ or . libiberty.a.
778         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
779         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
780         * Makefile.in: Regenerated.
782 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
783             Jan Kratochvil  <jan.kratochvil@redhat.com>
784             Tom Tromey  <tromey@redhat.com>
786         * aclocal.m4: New file.
787         * callbacks.cc: New file.
788         * callbacks.hh: New file.
789         * cc1plugin-config.h.in: New file.
790         * configure: New file.
791         * configure.ac: New file.
792         * connection.cc: New file.
793         * connection.hh: New file.
794         * findcomp.cc: New file.
795         * findcomp.hh: New file.
796         * libcc1.cc: New file.
797         * libcc1plugin.sym: New file.
798         * libcc1.sym: New file.
799         * Makefile.am: New file.
800         * Makefile.in: New file.
801         * marshall.cc: New file.
802         * marshall.hh: New file.
803         * names.cc: New file.
804         * names.hh: New file.
805         * plugin.cc: New file.
806         * rpc.hh: New file.
807         * status.hh: New file.