Fix wrong operator for universal_integer operands in instance
[official-gcc.git] / libcc1 / ChangeLog
blobc03d89feba82244ee183e892b03bfc0c8ff53b2f
1 2021-12-16  Patrick Palka  <ppalka@redhat.com>
3         PR c++/51577
4         PR c++/83035
5         PR c++/100465
6         * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
7         build_x_unary_op.
8         (plugin_build_binary_expr): Adjust call to build_x_binary_op.
10 2021-12-15  Iain Sandoe  <iain@sandoe.co.uk>
12         * configure: Regenerate.
14 2021-08-17  Iain Sandoe  <iain@sandoe.co.uk>
16         * Makefile.am: Switch mdynamic-no-pic to fPIC.
17         * Makefile.in: Regenerated.
19 2021-06-28  Martin Sebor  <msebor@redhat.com>
21         * libcp1plugin.cc (record_decl_address): Replace a direct use
22         of TREE_NO_WARNING with suppress_warning.
24 2021-05-05  Tom Tromey  <tom@tromey.com>
26         * compiler.cc (make_regexp): Take const std::string.
27         (cc1_plugin::compiler_triplet_regexp::find): Update.
29 2021-05-05  Tom Tromey  <tom@tromey.com>
31         PR c/94669
32         * compiler.hh (compiler_driver_filename): Take const char *.
33         (compiler_triplet_regexp): Likewise.
35 2021-05-05  Tom Tromey  <tom@tromey.com>
37         * rpc.hh (argument_wrapper) <get>: Replace cast operator.
38         (argument_wrapper<T *>) <get>: Likewise.
39         (unmarshall): Add std::tuple overloads.
40         (callback): Remove.
41         (class invoker): New.
42         * libcp1plugin.cc (plugin_init): Update.
43         * libcp1.cc (libcp1::add_callbacks): Update.
44         * libcc1plugin.cc (plugin_init): Update.
45         * libcc1.cc (libcc1::add_callbacks): Update.
46         * connection.cc (cc1_plugin::connection::do_wait): Update.
48 2021-05-05  Tom Tromey  <tom@tromey.com>
50         * gdbctx.hh (do_compile): Use std::vector.
52 2021-05-05  Tom Tromey  <tom@tromey.com>
54         * libcp1.cc (libcp1): Change parameters.  Update.
55         (libcp1_set_verbose, libcp1_set_arguments)
56         (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
57         (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
58         (libcp1_compile, libcp1_destroy, vtable): Remove.
59         (libcp1::add_callbacks): New method, extracted from
60         libcp1_compile.
61         (gcc_c_fe_context): Update.
62         * libcc1.cc (libcc1): Change parameters.  Update.
63         (libcc1_set_verbose, libcc1_set_arguments)
64         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
65         (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
66         (libcc1_compile, libcc1_destroy, vtable): Remove.
67         (libcc1::add_callbacks): New method, extracted from
68         libcc1_compile.
69         (gcc_c_fe_context): Update.
70         * gdbctx.hh (base_gdb_plugin): Change parameters.
71         (~base_gdb_plugin): New.
72         <add_callbacks>: New virtual method.
73         <plugin_name, fe_version, compiler_name, vtable>: New members.
74         (get_self, do_set_verbose, do_set_arguments)
75         (do_set_triplet_regexp, do_set_driver_filename)
76         (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
77         (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
79 2021-05-05  Tom Tromey  <tom@tromey.com>
81         * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
83 2021-05-05  Tom Tromey  <tom@tromey.com>
85         * libcp1.cc (struct libcp1): Derive from base_gdb_plugin.  Remove
86         shared code.
87         (class libcp1_connection): Remove.
88         (rpc): Remove.
89         (libcp1_set_verbose, libcp1_compile): Update.
90         (cp_call_binding_oracle, cp_call_symbol_address)
91         (cp_call_enter_scope, cp_call_leave_scope): Update.
92         * libcc1.cc (struct libcc1): Derive from base_gdb_plugin.  Remove
93         shared code.
94         (class libcc1_connection): Remove.
95         (c_call_binding_oracle, c_call_symbol_address): Update.
96         (rpc): Remove.
97         (libcc1_set_verbose, libcc1_compile): Update.
98         * gdbctx.hh: New file.
100 2021-05-05  Tom Tromey  <tom@tromey.com>
102         * libcc1plugin.cc: Move code to context.cc.
103         * libcp1plugin.cc: Move code to context.cc.
104         * context.hh: New file.
105         * context.cc: New file.
106         * Makefile.in: Rebuild.
107         * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
108         (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
109         (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
110         (libcp1plugin_la_SOURCES): Likewise.
112 2021-05-05  Tom Tromey  <tom@tromey.com>
114         * libcp1plugin.cc: Use static assert.
116 2021-05-05  Tom Tromey  <tom@tromey.com>
118         * libcp1plugin.cc (plugin_context::mark): Use foreach.
119         * libcc1plugin.cc (plugin_context::mark): Use foreach.
121 2021-05-05  Tom Tromey  <tom@tromey.com>
123         * libcp1.cc (compiler, compiler_triplet_regexp)
124         (compiler_driver_filename): Remove.
125         (libcp1::libcp1): Update.
126         (make_regexp, libcp1::compiler::find)
127         (libcp1::compiler_triplet_regexp::find)
128         (libcp1::compiler_driver_filename::find): Remove.
129         (libcp1_set_verbose, libcp1_set_arguments)
130         (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
131         * libcc1.cc (compiler, compiler_triplet_regexp)
132         (compiler_driver_filename): Remove.
133         (libcc1::libcc1): Update.
134         (make_regexp, libcc1::compiler::find)
135         (libcc1::compiler_triplet_regexp::find)
136         (libcc1::compiler_driver_filename::find): Remove.
137         (libcc1_set_verbose, libcc1_set_arguments)
138         (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
139         * compiler.cc: New file.
140         * compiler.hh: New file.
141         * Makefile.in: Rebuild.
142         * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
144 2021-05-05  Tom Tromey  <tom@tromey.com>
146         * libcp1.cc (struct libcp1) <connection, compilerp>: Use
147         unique_ptr.
148         (~libcp1): Remove.
149         (libcp1_compile, libcp1_set_triplet_regexp)
150         (libcp1_set_driver_filename): Update.
151         * libcc1.cc (struct libcc1) <connection, compilerp>: Use
152         unique_ptr.
153         (~libcc1): Remove.
154         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
155         (libcc1_compile): Update.
157 2021-05-05  Tom Tromey  <tom@tromey.com>
159         * rpc.hh (deleter): Move template and some specializations to
160         deleter.hh.
161         (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
162         * marshall.cc (cc1_plugin::unmarshall): Use
163         cc1_plugin::unique_ptr.
164         * marshall-cp.hh (deleter): New specializations.
165         (unmarshall): Use cc1_plugin::unique_ptr.
166         * deleter.hh: New file.
168 2021-05-05  Tom Tromey  <tom@tromey.com>
170         * rpc.hh (struct deleter): New template class and
171         specializations.
172         (argument_wrapper): Remove specializations.  Add specialization
173         for any pointer type.
175 2021-05-05  Tom Tromey  <tom@tromey.com>
177         * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
178         * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
180 2021-05-05  Tom Tromey  <tom@tromey.com>
182         * libcp1.cc (rpc): Use variadic template.  Remove overloads.
183         * libcc1.cc (rpc): Use variadic template.  Remove overloads.
185 2021-05-05  Tom Tromey  <tom@tromey.com>
187         * rpc.hh (call): Use variadic template.  Remove overloads.
188         * marshall.hh (marshall): Add base overload.  Use variadic
189         template.
191 2021-05-05  Tom Tromey  <tom@tromey.com>
193         * rpc.hh (argument_wrapper): Use delete for copy constructor.
194         * connection.hh (class connection): Use delete for copy
195         constructor.
196         * callbacks.hh (class callbacks): Use delete for copy constructor.
198 2021-05-05  Tom Tromey  <tom@tromey.com>
200         * connection.hh (~connection): Use default.
201         (print): Inline.
202         * connection.cc (cc1_plugin::connection::~connection)
203         (cc1_plugin::connection::print): Remove definitions.
205 2021-05-05  Tom Tromey  <tom@tromey.com>
207         * libcp1.cc (class compiler_triplet_regexp)
208         (class compiler_driver_filename, class libcp1_connection): Use
209         "override".
210         * libcc1.cc (class compiler_triplet_regexp)
211         (class compiler_driver_filename, class libcc1_connection): Use
212         "override".
214 2021-05-05  Tom Tromey  <tom@tromey.com>
216         * marshall.hh (cc1_plugin::unmarshall): Use type traits.
217         * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
218         * marshall-c.hh: Remove.
219         * libcc1plugin.cc: Update includes.
220         * libcc1.cc: Update includes.
222 2021-05-03  H.J. Lu  <hjl.tools@gmail.com>
224         PR bootstrap/99703
225         * configure: Regenerated.
227 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
229         * configure: Re-generate.
231 2020-12-18  Jakub Jelinek  <jakub@redhat.com>
233         PR bootstrap/98380
234         * configure.ac: Set darwin_dynamic_lookup=no instead to empty
235         string.
236         * configure: Regenerated.
238 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
240         PR target/97865
241         * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
242         * configure.ac: Test for Darwin host and set a flag.
243         * Makefile.in: Regenerate.
244         * configure: Regenerate.
246 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
248         * configure: Regenerate.
250 2020-11-11  Patrick Palka  <ppalka@redhat.com>
252         PR c++/88115
253         * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
254         cxx_sizeof_or_alignof_expr.
256 2020-11-10  Marek Polacek  <polacek@redhat.com>
258         PR c++/97518
259         * libcp1plugin.cc (plugin_add_static_assert): Pass false to
260         finish_static_assert.
262 2020-11-06  Nathan Sidwell  <nathan@acm.org>
264         * libcc1plugin.cc (address_rewriter): Rename
265         DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
266         * libcp1plugin.cc (supplement_binding): Likewise.
268 2020-10-14  Nathan Sidwell  <nathan@acm.org>
270         * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
272 2020-10-07  Nathan Sidwell  <nathan@acm.org>
274         * libcp1plugin.cc (supplement_binding): Rename
275         DECL_BUILTIN_P.
277 2020-10-02  Nathan Sidwell  <nathan@acm.org>
279         * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
281 2020-09-25  Nathan Sidwell  <nathan@acm.org>
283         * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
285 2020-09-24  Nathan Sidwell  <nathan@acm.org>
287         * libcp1plugin.cc (supplement_binding): Drop default args to
288         duplicate_decls.
289         (safe_pushtag): Drop scope parm.  Drop default args to pushtag.
290         (safe_pushdecl_maybe_friend): Rename to ...
291         (safe_pushdecl): ... here. Drop is_friend parm.  Drop default args
292         to pushdecl.
293         (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
294         (plugin_build_constant): Adjust safe_pushdecl call.
296 2020-09-10  Nathan Sidwell  <nathan@acm.org>
298         * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
300 2020-08-14  Nathan Sidwell  <nathan@acm.org>
302         * libcp1plugin.cc (plugin_build_dependent_expr): Rename
303         lookup_name_real call.
305 2020-08-14  Nathan Sidwell  <nathan@acm.org>
307         * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
308         lookup_name_real call.
310 2020-08-14  Nathan Sidwell  <nathan@acm.org>
312         * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
313         lookup_name_real & lookup_qualified_name calls.
315 2020-08-13  Nathan Sidwell  <nathan@acm.org>
317         * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
319 2020-07-30  H.J. Lu  <hjl.tools@gmail.com>
321         PR bootstrap/96202
322         * configure: Regenerated.
324 2020-06-30  Nathan Sidwell  <nathan@acm.org>
326         * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
327         call.
329 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
331         PR bootstrap/95413
332         * configure: Regenerated.
334 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
336         * configure: Regenerated.
338 2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
340         * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
341         * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
342         AC_SUBST(CET_HOST_FLAGS).
343         * Makefile.in: Regenerated.
344         * aclocal.m4: Likewise.
345         * configure: Likewise.
347 2020-02-12  Patrick Palka  <ppalka@redhat.com>
349         PR c++/69448
350         PR c++/80471
351         * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
352         AUTO_IS_DECLTYPE anymore.
354 2020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
356         * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
358 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
360         Update copyright years.
362 2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
364         * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
365         call.
367 2019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
369         * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
370         and cxx_sizeof_or_alignof_expr calls.
371         (plugin_build_unary_type_expr): Likewise for
372         cxx_sizeof_or_alignof_type.
374 2019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
376         * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
377         declaration.
379 2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
381         * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
382         build_functional_cast call.
384 2019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
386         * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
387         cp_build_indirect_ref call.
389 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
391         * configure: Regenerate.
393 2019-05-21  Nathan Sidwell  <nathan@acm.org>
395         * libcp1plugin.cc (plugin_add_using_decl): Use
396         finish_nonmember_using_decl.
398 2019-05-20  Nathan Sidwell  <nathan@acm.org>
400         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
401         finish_using_directive.
403 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
405         Update copyright years.
407 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
409         * libcc1plugin.cc: Replace "source_location" with "location_t".
410         (plugin_context::get_source_location): Rename to...
411         (plugin_context::get_location_t): ...this.
412         * libcp1plugin.cc: Likewise.
414 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
416         PR bootstrap/82856
417         * configure.ac: Remove AC_PREREQ.
418         * Makefile.in, aclocal.m4, configure: Regenerate.
420 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
422         PR jit/85384
423         * configure: Regenerate.
425 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
427         Update copyright years.
429 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
431         * configure: Regenerate.
433 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
434             Pedro Alves  <palves@redhat.com>
436         * Makefile.am: Remove references to c-compiler-name.h and
437         cp-compiler-name.h
438         * Makefile.in: Regenerate.
439         * compiler-name.hh: New file.
440         * libcc1.cc: Don't include c-compiler-name.h.  Include
441         compiler-name.hh.
442         * libcp1.cc: Don't include cp-compiler-name.h.  Include
443         compiler-name.hh.
445 2017-11-01  Nathan Sidwell  <nathan@acm.org>
447         * libcp1plugin.cc (plugin_build_decl): Use
448         DECL_OVERLOADED_OPERATOR_CODE_RAW.
450 2017-10-31  Nathan Sidwell  <nathan@acm.org>
452         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
453         Directly set operator code.
454         (plugin_build_dependent_expr): Use ovl_op_identifier.
456 2017-10-04  Nathan Sidwell  <nathan@acm.org>
458         * libcp1plugin.cc (supplement_binding): Don't use
459         maybe_remove_implicit_alias.
461 2017-07-20  Nathan Sidwell  <nathan@acm.org>
463         Remove TYPE_METHODS.
464         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
466 2017-07-12  Nathan Sidwell  <nathan@acm.org>
468         * libcp1plugin.cc (plugin_build_decl): Use
469         DECL_CXX_{CON,DE}STRUCTOR directly.
471 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
473         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
475 2017-06-30  Nathan Sidwell  <nathan@acm.org>
477         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
478         (plugin_build_dependent_expr): Likewise.
480 2017-06-26  Nathan Sidwell  <nathan@acm.org>
482         * libcp1plugin.cc (plugin_build_decl): Don't set
483         DECL_ASSIGNMENT_OPERATOR_P.
485 2017-06-16  Nathan Sidwell  <nathan@acm.org>
487         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
489 2017-05-26  Nathan Sidwell  <nathan@acm.org>
491         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
493         * libcp1plugin.cc (plugin_add_using_namespace): Call
494         finish_namespace_using_directive.
496 2017-05-25  Nathan Sidwell  <nathan@acm.org>
498         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
499         DECL_NAMESPACE_INLINE_P.
501 2017-05-23  Nathan Sidwell  <nathan@acm.org>
503         * libcp1plugin.cc (plugin_add_using_decl): Call
504         finish_namespace_using_decl.  Use assert not unreachable.
506 2017-05-11  Nathan Sidwell  <nathan@acm.org>
508         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
510 2017-05-10  Nathan Sidwell  <nathan@acm.org>
512         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
514 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
516         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
518 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
520         Introduce C++ support.
521         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
522         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
523         new macros.
524         (plugin_LTLIBRARIES): Add libcp1plugin.la.
525         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
526         (cp-compiler-name.h): ... this.  New.
527         (c-compiler-name.h): Rename all over from...
528         (compiler-name.h): ... this.  Create it atomically.
529         (marshall_c_source, marshall_cxx_source): New macros.
530         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
531         Add marshall_c_source expansion.
532         (libcc1plugin.lo_CPPFLAGS): New macro.
533         (libcp1plugin_la_LDFLAGS): Likewise.
534         (libcp1plugin_la_SOURCES): Likewise.
535         (libcp1plugin.lo_CPPFLAGS): Likewise.
536         (libcp1plugin_la_LIBADD): Likewise.
537         (libcp1plugin_la_DEPENDENCIES): Likewise.
538         (libcp1plugin_la_LINK): Likewise.
539         (libcc1_la_SOURCES): Added marshall_c_source and
540         marshall_cxx_source expansions.
541         * Makefile.in: Rebuild.
542         * compiler-name.h: Rename all over to...
543         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
544         of COMPILER_NAME.
545         * plugin.cc: Rename all over to...
546         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
547         (address_rewriter): Drop cleaning up of VLA sizes.
548         (plugin_build_decl): Mark decls as external.
549         (plugin_tagbind): Propagate name to all variants.
550         (build_anonymous_node): New.
551         (plugin_build_record_type): Use it instead of make_node.
552         (plugin_build_union_type): Likewise.
553         (plugin_build_enum_type): Likewise.
554         (plugin_finish_record_or_union): Update all type variants.
555         (safe_lookup_builtin_type): New.
556         (plugin_int_check): Factor out of, and add checks to, ...
557         (plugin_int_type): ... this.  Rename to...
558         (plugin_int_type_v0): ... this.
559         (plugin_int_type): New interface, new implementation.
560         (plugin_char_type): New.
561         (plugin_float_type_v0): Rename from...
562         (plugin_float_type): ... this.  New interface, new implementation.
563         (plugin_init): Bump handshake version.
564         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
565         (call_binding_oracle): Rename to...
566         (c_call_binding_oracle): ... this, into anonymous namespace.
567         (call_symbol_address): Rename to...
568         (c_call_symbol_address): ... this, likewise.
569         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
570         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
571         (fork_exec): Bump to GCC_C_FE_VERSION_1.
572         (libcc1_compile): Prefix callbacks with c_.
573         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
574         * libcc1.sym: Export gcc_cp_fe_context.
575         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
576         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
577         * libcp1plugin.sym: New.
578         * marshall-c.hh: New.  Move C-specific types from...
579         * marshall.cc: ... this.
580         (cc1_plugin::marshall_array_start): New.
581         (cc1_plugin::marshall_array_elmts): New.
582         (cc1_plugin::marshall for gcc_type_array): Use the above.
583         (cc1_plugin::unmarshall_array_start): New.
584         (cc1_plugin::unmarshall_array_elmts): New.
585         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
586         * marshall.hh: Declare the new array building blocks.
587         Drop C-specific unmarshall declarations.
588         * marshall-cp.hh: New.
589         * names.cc (GCC_METHOD#): Add LANG:: to method names.
590         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
591         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
592         corresponding namespaces.
593         * rpc.hh: Don't include marshall.hh.
594         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
595         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
597 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
599         * findcomp.cc: Include system.h.
600         (search_dir): Return absolute filename.
602         * libcc1.cc (libcc1): Add class compiler with field compilerp,
603         class compiler_triplet_regexp and class
604         compiler_driver_filename.
605         (libcc1::libcc1): Initialize compilerp.
606         (libcc1::~libcc1): Delete compilerp.
607         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
608         (libcc1::compiler_driver_filename::find): New methods.
609         (libcc1_set_arguments): Remove parameter triplet_regexp.
610         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
611         (libcc1_set_arguments_v0): New functions.
612         (vtable): Use libcc1_set_arguments_v0, add
613         libcc1_set_arguments, libcc1_set_triplet_regexp and
614         libcc1_set_driver_filename.
616         * libcc1.cc: Include intl.h.
617         (struct libcc1): Add field verbose.
618         (libcc1::libcc1): Initialize it.
619         (libcc1_set_verbose): New function.
620         (libcc1_set_arguments): Print messages for VERBOSE.
621         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
622         SELF.
623         (libcc1_compile_v0): New function.
624         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
625         libcc1_set_verbose.
627         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
628         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
630 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
632         PR other/79046
633         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
634         use just major number from BASE-VER.
635         * configure: Regenerated.
636         * Makefile.in: Regenerated.
638 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
640         Update copyright years.
642 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
643             Alan Hayward  <alan.hayward@arm.com>
644             David Sherwood  <david.sherwood@arm.com>
646         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
648 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
650         Update copyrights.
652 2016-04-18  Michael Matz  <matz@suse.de>
654         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
656 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
658         PR bootstrap/70173
659         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
660         (compiler-name.h): Shorten recipe so that it fits the line.
661         * Makefile.in: Regenerate.
663 2016-03-14  Andreas Schwab  <schwab@suse.de>
665         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
666         * configure: Regenerate.
667         * Makefile.in: Regenerate.
669 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
671         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
672         rather than typed_free_remove.  Remove redudant typedefs.
674 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
676         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
677         than typed_noop_remove.  Remove redudant typedefs.
678         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
679         (plugin_context::mark): Likewise.
681 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
683         * Makefile.in: Regenerated with automake-1.11.6.
684         * aclocal.m4: Likewise.
685         * configure: Likewise.
687 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
689         * plugin.cc: Adjust for hash_table changes.
691 2015-04-15  Andreas Schwab  <schwab@suse.de>
693         PR bootstrap/65763
694         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
695         * Makefile.in: Regenerated.
697 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
699         * plugin.cc: All callers of fatal_error changed to pass
700         input_location as first argument.
702 2015-01-09  Michael Collison  <michael.collison@linaro.org>
704         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
705         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
706         due to flattening of tree.h.
708 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
710         PR bootstrap/63784
711         * configure: Regenerated.
713 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
715         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
716         * configure: Regenerate.
717         * connection.cc: Include <string.h>.
718         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
720 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
722         PR target/63610
723         * configure: Regenerate.
725 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
727         PR bootstrap/63699
728         PR bootstrap/63750
729         * plugin.cc: Don't include <string>.
731 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
732             Phil Muldoon  <pmuldoon@redhat.com>
734         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
735         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
736         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
737         (WERROR_FLAG): Remove.
738         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
739         * configure: Regenerated.
740         * Makefile.in: Regenerated.
742 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
744         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
745         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
746         New variables.
747         (libiberty): Set to -Wc, followed by the first existing noasan/,
748         pic/ or . libiberty.a.
749         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
750         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
751         * Makefile.in: Regenerated.
753 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
754             Jan Kratochvil  <jan.kratochvil@redhat.com>
755             Tom Tromey  <tromey@redhat.com>
757         * aclocal.m4: New file.
758         * callbacks.cc: New file.
759         * callbacks.hh: New file.
760         * cc1plugin-config.h.in: New file.
761         * configure: New file.
762         * configure.ac: New file.
763         * connection.cc: New file.
764         * connection.hh: New file.
765         * findcomp.cc: New file.
766         * findcomp.hh: New file.
767         * libcc1.cc: New file.
768         * libcc1plugin.sym: New file.
769         * libcc1.sym: New file.
770         * Makefile.am: New file.
771         * Makefile.in: New file.
772         * marshall.cc: New file.
773         * marshall.hh: New file.
774         * names.cc: New file.
775         * names.hh: New file.
776         * plugin.cc: New file.
777         * rpc.hh: New file.
778         * status.hh: New file.