Support TI mode and soft float on PA64
[official-gcc.git] / libcc1 / ChangeLog
blobf500fdbdd1a1f5f6ce3d15e14a973949e5bc965d
1 2021-08-17  Iain Sandoe  <iain@sandoe.co.uk>
3         * Makefile.am: Switch mdynamic-no-pic to fPIC.
4         * Makefile.in: Regenerated.
6 2021-06-28  Martin Sebor  <msebor@redhat.com>
8         * libcp1plugin.cc (record_decl_address): Replace a direct use
9         of TREE_NO_WARNING with suppress_warning.
11 2021-05-05  Tom Tromey  <tom@tromey.com>
13         * compiler.cc (make_regexp): Take const std::string.
14         (cc1_plugin::compiler_triplet_regexp::find): Update.
16 2021-05-05  Tom Tromey  <tom@tromey.com>
18         PR c/94669
19         * compiler.hh (compiler_driver_filename): Take const char *.
20         (compiler_triplet_regexp): Likewise.
22 2021-05-05  Tom Tromey  <tom@tromey.com>
24         * rpc.hh (argument_wrapper) <get>: Replace cast operator.
25         (argument_wrapper<T *>) <get>: Likewise.
26         (unmarshall): Add std::tuple overloads.
27         (callback): Remove.
28         (class invoker): New.
29         * libcp1plugin.cc (plugin_init): Update.
30         * libcp1.cc (libcp1::add_callbacks): Update.
31         * libcc1plugin.cc (plugin_init): Update.
32         * libcc1.cc (libcc1::add_callbacks): Update.
33         * connection.cc (cc1_plugin::connection::do_wait): Update.
35 2021-05-05  Tom Tromey  <tom@tromey.com>
37         * gdbctx.hh (do_compile): Use std::vector.
39 2021-05-05  Tom Tromey  <tom@tromey.com>
41         * libcp1.cc (libcp1): Change parameters.  Update.
42         (libcp1_set_verbose, libcp1_set_arguments)
43         (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
44         (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
45         (libcp1_compile, libcp1_destroy, vtable): Remove.
46         (libcp1::add_callbacks): New method, extracted from
47         libcp1_compile.
48         (gcc_c_fe_context): Update.
49         * libcc1.cc (libcc1): Change parameters.  Update.
50         (libcc1_set_verbose, libcc1_set_arguments)
51         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
52         (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
53         (libcc1_compile, libcc1_destroy, vtable): Remove.
54         (libcc1::add_callbacks): New method, extracted from
55         libcc1_compile.
56         (gcc_c_fe_context): Update.
57         * gdbctx.hh (base_gdb_plugin): Change parameters.
58         (~base_gdb_plugin): New.
59         <add_callbacks>: New virtual method.
60         <plugin_name, fe_version, compiler_name, vtable>: New members.
61         (get_self, do_set_verbose, do_set_arguments)
62         (do_set_triplet_regexp, do_set_driver_filename)
63         (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
64         (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
66 2021-05-05  Tom Tromey  <tom@tromey.com>
68         * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
70 2021-05-05  Tom Tromey  <tom@tromey.com>
72         * libcp1.cc (struct libcp1): Derive from base_gdb_plugin.  Remove
73         shared code.
74         (class libcp1_connection): Remove.
75         (rpc): Remove.
76         (libcp1_set_verbose, libcp1_compile): Update.
77         (cp_call_binding_oracle, cp_call_symbol_address)
78         (cp_call_enter_scope, cp_call_leave_scope): Update.
79         * libcc1.cc (struct libcc1): Derive from base_gdb_plugin.  Remove
80         shared code.
81         (class libcc1_connection): Remove.
82         (c_call_binding_oracle, c_call_symbol_address): Update.
83         (rpc): Remove.
84         (libcc1_set_verbose, libcc1_compile): Update.
85         * gdbctx.hh: New file.
87 2021-05-05  Tom Tromey  <tom@tromey.com>
89         * libcc1plugin.cc: Move code to context.cc.
90         * libcp1plugin.cc: Move code to context.cc.
91         * context.hh: New file.
92         * context.cc: New file.
93         * Makefile.in: Rebuild.
94         * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
95         (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
96         (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
97         (libcp1plugin_la_SOURCES): Likewise.
99 2021-05-05  Tom Tromey  <tom@tromey.com>
101         * libcp1plugin.cc: Use static assert.
103 2021-05-05  Tom Tromey  <tom@tromey.com>
105         * libcp1plugin.cc (plugin_context::mark): Use foreach.
106         * libcc1plugin.cc (plugin_context::mark): Use foreach.
108 2021-05-05  Tom Tromey  <tom@tromey.com>
110         * libcp1.cc (compiler, compiler_triplet_regexp)
111         (compiler_driver_filename): Remove.
112         (libcp1::libcp1): Update.
113         (make_regexp, libcp1::compiler::find)
114         (libcp1::compiler_triplet_regexp::find)
115         (libcp1::compiler_driver_filename::find): Remove.
116         (libcp1_set_verbose, libcp1_set_arguments)
117         (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
118         * libcc1.cc (compiler, compiler_triplet_regexp)
119         (compiler_driver_filename): Remove.
120         (libcc1::libcc1): Update.
121         (make_regexp, libcc1::compiler::find)
122         (libcc1::compiler_triplet_regexp::find)
123         (libcc1::compiler_driver_filename::find): Remove.
124         (libcc1_set_verbose, libcc1_set_arguments)
125         (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
126         * compiler.cc: New file.
127         * compiler.hh: New file.
128         * Makefile.in: Rebuild.
129         * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
131 2021-05-05  Tom Tromey  <tom@tromey.com>
133         * libcp1.cc (struct libcp1) <connection, compilerp>: Use
134         unique_ptr.
135         (~libcp1): Remove.
136         (libcp1_compile, libcp1_set_triplet_regexp)
137         (libcp1_set_driver_filename): Update.
138         * libcc1.cc (struct libcc1) <connection, compilerp>: Use
139         unique_ptr.
140         (~libcc1): Remove.
141         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
142         (libcc1_compile): Update.
144 2021-05-05  Tom Tromey  <tom@tromey.com>
146         * rpc.hh (deleter): Move template and some specializations to
147         deleter.hh.
148         (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
149         * marshall.cc (cc1_plugin::unmarshall): Use
150         cc1_plugin::unique_ptr.
151         * marshall-cp.hh (deleter): New specializations.
152         (unmarshall): Use cc1_plugin::unique_ptr.
153         * deleter.hh: New file.
155 2021-05-05  Tom Tromey  <tom@tromey.com>
157         * rpc.hh (struct deleter): New template class and
158         specializations.
159         (argument_wrapper): Remove specializations.  Add specialization
160         for any pointer type.
162 2021-05-05  Tom Tromey  <tom@tromey.com>
164         * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
165         * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
167 2021-05-05  Tom Tromey  <tom@tromey.com>
169         * libcp1.cc (rpc): Use variadic template.  Remove overloads.
170         * libcc1.cc (rpc): Use variadic template.  Remove overloads.
172 2021-05-05  Tom Tromey  <tom@tromey.com>
174         * rpc.hh (call): Use variadic template.  Remove overloads.
175         * marshall.hh (marshall): Add base overload.  Use variadic
176         template.
178 2021-05-05  Tom Tromey  <tom@tromey.com>
180         * rpc.hh (argument_wrapper): Use delete for copy constructor.
181         * connection.hh (class connection): Use delete for copy
182         constructor.
183         * callbacks.hh (class callbacks): Use delete for copy constructor.
185 2021-05-05  Tom Tromey  <tom@tromey.com>
187         * connection.hh (~connection): Use default.
188         (print): Inline.
189         * connection.cc (cc1_plugin::connection::~connection)
190         (cc1_plugin::connection::print): Remove definitions.
192 2021-05-05  Tom Tromey  <tom@tromey.com>
194         * libcp1.cc (class compiler_triplet_regexp)
195         (class compiler_driver_filename, class libcp1_connection): Use
196         "override".
197         * libcc1.cc (class compiler_triplet_regexp)
198         (class compiler_driver_filename, class libcc1_connection): Use
199         "override".
201 2021-05-05  Tom Tromey  <tom@tromey.com>
203         * marshall.hh (cc1_plugin::unmarshall): Use type traits.
204         * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
205         * marshall-c.hh: Remove.
206         * libcc1plugin.cc: Update includes.
207         * libcc1.cc: Update includes.
209 2021-05-03  H.J. Lu  <hjl.tools@gmail.com>
211         PR bootstrap/99703
212         * configure: Regenerated.
214 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
216         * configure: Re-generate.
218 2020-12-18  Jakub Jelinek  <jakub@redhat.com>
220         PR bootstrap/98380
221         * configure.ac: Set darwin_dynamic_lookup=no instead to empty
222         string.
223         * configure: Regenerated.
225 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
227         PR target/97865
228         * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
229         * configure.ac: Test for Darwin host and set a flag.
230         * Makefile.in: Regenerate.
231         * configure: Regenerate.
233 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
235         * configure: Regenerate.
237 2020-11-11  Patrick Palka  <ppalka@redhat.com>
239         PR c++/88115
240         * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
241         cxx_sizeof_or_alignof_expr.
243 2020-11-10  Marek Polacek  <polacek@redhat.com>
245         PR c++/97518
246         * libcp1plugin.cc (plugin_add_static_assert): Pass false to
247         finish_static_assert.
249 2020-11-06  Nathan Sidwell  <nathan@acm.org>
251         * libcc1plugin.cc (address_rewriter): Rename
252         DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
253         * libcp1plugin.cc (supplement_binding): Likewise.
255 2020-10-14  Nathan Sidwell  <nathan@acm.org>
257         * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
259 2020-10-07  Nathan Sidwell  <nathan@acm.org>
261         * libcp1plugin.cc (supplement_binding): Rename
262         DECL_BUILTIN_P.
264 2020-10-02  Nathan Sidwell  <nathan@acm.org>
266         * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
268 2020-09-25  Nathan Sidwell  <nathan@acm.org>
270         * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
272 2020-09-24  Nathan Sidwell  <nathan@acm.org>
274         * libcp1plugin.cc (supplement_binding): Drop default args to
275         duplicate_decls.
276         (safe_pushtag): Drop scope parm.  Drop default args to pushtag.
277         (safe_pushdecl_maybe_friend): Rename to ...
278         (safe_pushdecl): ... here. Drop is_friend parm.  Drop default args
279         to pushdecl.
280         (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
281         (plugin_build_constant): Adjust safe_pushdecl call.
283 2020-09-10  Nathan Sidwell  <nathan@acm.org>
285         * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
287 2020-08-14  Nathan Sidwell  <nathan@acm.org>
289         * libcp1plugin.cc (plugin_build_dependent_expr): Rename
290         lookup_name_real call.
292 2020-08-14  Nathan Sidwell  <nathan@acm.org>
294         * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
295         lookup_name_real call.
297 2020-08-14  Nathan Sidwell  <nathan@acm.org>
299         * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
300         lookup_name_real & lookup_qualified_name calls.
302 2020-08-13  Nathan Sidwell  <nathan@acm.org>
304         * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
306 2020-07-30  H.J. Lu  <hjl.tools@gmail.com>
308         PR bootstrap/96202
309         * configure: Regenerated.
311 2020-06-30  Nathan Sidwell  <nathan@acm.org>
313         * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
314         call.
316 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
318         PR bootstrap/95413
319         * configure: Regenerated.
321 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
323         * configure: Regenerated.
325 2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
327         * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
328         * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
329         AC_SUBST(CET_HOST_FLAGS).
330         * Makefile.in: Regenerated.
331         * aclocal.m4: Likewise.
332         * configure: Likewise.
334 2020-02-12  Patrick Palka  <ppalka@redhat.com>
336         PR c++/69448
337         PR c++/80471
338         * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
339         AUTO_IS_DECLTYPE anymore.
341 2020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
343         * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
345 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
347         Update copyright years.
349 2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
351         * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
352         call.
354 2019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
356         * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
357         and cxx_sizeof_or_alignof_expr calls.
358         (plugin_build_unary_type_expr): Likewise for
359         cxx_sizeof_or_alignof_type.
361 2019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
363         * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
364         declaration.
366 2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
368         * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
369         build_functional_cast call.
371 2019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
373         * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
374         cp_build_indirect_ref call.
376 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
378         * configure: Regenerate.
380 2019-05-21  Nathan Sidwell  <nathan@acm.org>
382         * libcp1plugin.cc (plugin_add_using_decl): Use
383         finish_nonmember_using_decl.
385 2019-05-20  Nathan Sidwell  <nathan@acm.org>
387         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
388         finish_using_directive.
390 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
392         Update copyright years.
394 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
396         * libcc1plugin.cc: Replace "source_location" with "location_t".
397         (plugin_context::get_source_location): Rename to...
398         (plugin_context::get_location_t): ...this.
399         * libcp1plugin.cc: Likewise.
401 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
403         PR bootstrap/82856
404         * configure.ac: Remove AC_PREREQ.
405         * Makefile.in, aclocal.m4, configure: Regenerate.
407 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
409         PR jit/85384
410         * configure: Regenerate.
412 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
414         Update copyright years.
416 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
418         * configure: Regenerate.
420 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
421             Pedro Alves  <palves@redhat.com>
423         * Makefile.am: Remove references to c-compiler-name.h and
424         cp-compiler-name.h
425         * Makefile.in: Regenerate.
426         * compiler-name.hh: New file.
427         * libcc1.cc: Don't include c-compiler-name.h.  Include
428         compiler-name.hh.
429         * libcp1.cc: Don't include cp-compiler-name.h.  Include
430         compiler-name.hh.
432 2017-11-01  Nathan Sidwell  <nathan@acm.org>
434         * libcp1plugin.cc (plugin_build_decl): Use
435         DECL_OVERLOADED_OPERATOR_CODE_RAW.
437 2017-10-31  Nathan Sidwell  <nathan@acm.org>
439         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
440         Directly set operator code.
441         (plugin_build_dependent_expr): Use ovl_op_identifier.
443 2017-10-04  Nathan Sidwell  <nathan@acm.org>
445         * libcp1plugin.cc (supplement_binding): Don't use
446         maybe_remove_implicit_alias.
448 2017-07-20  Nathan Sidwell  <nathan@acm.org>
450         Remove TYPE_METHODS.
451         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
453 2017-07-12  Nathan Sidwell  <nathan@acm.org>
455         * libcp1plugin.cc (plugin_build_decl): Use
456         DECL_CXX_{CON,DE}STRUCTOR directly.
458 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
460         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
462 2017-06-30  Nathan Sidwell  <nathan@acm.org>
464         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
465         (plugin_build_dependent_expr): Likewise.
467 2017-06-26  Nathan Sidwell  <nathan@acm.org>
469         * libcp1plugin.cc (plugin_build_decl): Don't set
470         DECL_ASSIGNMENT_OPERATOR_P.
472 2017-06-16  Nathan Sidwell  <nathan@acm.org>
474         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
476 2017-05-26  Nathan Sidwell  <nathan@acm.org>
478         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
480         * libcp1plugin.cc (plugin_add_using_namespace): Call
481         finish_namespace_using_directive.
483 2017-05-25  Nathan Sidwell  <nathan@acm.org>
485         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
486         DECL_NAMESPACE_INLINE_P.
488 2017-05-23  Nathan Sidwell  <nathan@acm.org>
490         * libcp1plugin.cc (plugin_add_using_decl): Call
491         finish_namespace_using_decl.  Use assert not unreachable.
493 2017-05-11  Nathan Sidwell  <nathan@acm.org>
495         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
497 2017-05-10  Nathan Sidwell  <nathan@acm.org>
499         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
501 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
503         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
505 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
507         Introduce C++ support.
508         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
509         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
510         new macros.
511         (plugin_LTLIBRARIES): Add libcp1plugin.la.
512         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
513         (cp-compiler-name.h): ... this.  New.
514         (c-compiler-name.h): Rename all over from...
515         (compiler-name.h): ... this.  Create it atomically.
516         (marshall_c_source, marshall_cxx_source): New macros.
517         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
518         Add marshall_c_source expansion.
519         (libcc1plugin.lo_CPPFLAGS): New macro.
520         (libcp1plugin_la_LDFLAGS): Likewise.
521         (libcp1plugin_la_SOURCES): Likewise.
522         (libcp1plugin.lo_CPPFLAGS): Likewise.
523         (libcp1plugin_la_LIBADD): Likewise.
524         (libcp1plugin_la_DEPENDENCIES): Likewise.
525         (libcp1plugin_la_LINK): Likewise.
526         (libcc1_la_SOURCES): Added marshall_c_source and
527         marshall_cxx_source expansions.
528         * Makefile.in: Rebuild.
529         * compiler-name.h: Rename all over to...
530         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
531         of COMPILER_NAME.
532         * plugin.cc: Rename all over to...
533         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
534         (address_rewriter): Drop cleaning up of VLA sizes.
535         (plugin_build_decl): Mark decls as external.
536         (plugin_tagbind): Propagate name to all variants.
537         (build_anonymous_node): New.
538         (plugin_build_record_type): Use it instead of make_node.
539         (plugin_build_union_type): Likewise.
540         (plugin_build_enum_type): Likewise.
541         (plugin_finish_record_or_union): Update all type variants.
542         (safe_lookup_builtin_type): New.
543         (plugin_int_check): Factor out of, and add checks to, ...
544         (plugin_int_type): ... this.  Rename to...
545         (plugin_int_type_v0): ... this.
546         (plugin_int_type): New interface, new implementation.
547         (plugin_char_type): New.
548         (plugin_float_type_v0): Rename from...
549         (plugin_float_type): ... this.  New interface, new implementation.
550         (plugin_init): Bump handshake version.
551         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
552         (call_binding_oracle): Rename to...
553         (c_call_binding_oracle): ... this, into anonymous namespace.
554         (call_symbol_address): Rename to...
555         (c_call_symbol_address): ... this, likewise.
556         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
557         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
558         (fork_exec): Bump to GCC_C_FE_VERSION_1.
559         (libcc1_compile): Prefix callbacks with c_.
560         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
561         * libcc1.sym: Export gcc_cp_fe_context.
562         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
563         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
564         * libcp1plugin.sym: New.
565         * marshall-c.hh: New.  Move C-specific types from...
566         * marshall.cc: ... this.
567         (cc1_plugin::marshall_array_start): New.
568         (cc1_plugin::marshall_array_elmts): New.
569         (cc1_plugin::marshall for gcc_type_array): Use the above.
570         (cc1_plugin::unmarshall_array_start): New.
571         (cc1_plugin::unmarshall_array_elmts): New.
572         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
573         * marshall.hh: Declare the new array building blocks.
574         Drop C-specific unmarshall declarations.
575         * marshall-cp.hh: New.
576         * names.cc (GCC_METHOD#): Add LANG:: to method names.
577         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
578         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
579         corresponding namespaces.
580         * rpc.hh: Don't include marshall.hh.
581         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
582         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
584 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
586         * findcomp.cc: Include system.h.
587         (search_dir): Return absolute filename.
589         * libcc1.cc (libcc1): Add class compiler with field compilerp,
590         class compiler_triplet_regexp and class
591         compiler_driver_filename.
592         (libcc1::libcc1): Initialize compilerp.
593         (libcc1::~libcc1): Delete compilerp.
594         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
595         (libcc1::compiler_driver_filename::find): New methods.
596         (libcc1_set_arguments): Remove parameter triplet_regexp.
597         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
598         (libcc1_set_arguments_v0): New functions.
599         (vtable): Use libcc1_set_arguments_v0, add
600         libcc1_set_arguments, libcc1_set_triplet_regexp and
601         libcc1_set_driver_filename.
603         * libcc1.cc: Include intl.h.
604         (struct libcc1): Add field verbose.
605         (libcc1::libcc1): Initialize it.
606         (libcc1_set_verbose): New function.
607         (libcc1_set_arguments): Print messages for VERBOSE.
608         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
609         SELF.
610         (libcc1_compile_v0): New function.
611         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
612         libcc1_set_verbose.
614         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
615         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
617 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
619         PR other/79046
620         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
621         use just major number from BASE-VER.
622         * configure: Regenerated.
623         * Makefile.in: Regenerated.
625 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
627         Update copyright years.
629 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
630             Alan Hayward  <alan.hayward@arm.com>
631             David Sherwood  <david.sherwood@arm.com>
633         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
635 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
637         Update copyrights.
639 2016-04-18  Michael Matz  <matz@suse.de>
641         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
643 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
645         PR bootstrap/70173
646         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
647         (compiler-name.h): Shorten recipe so that it fits the line.
648         * Makefile.in: Regenerate.
650 2016-03-14  Andreas Schwab  <schwab@suse.de>
652         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
653         * configure: Regenerate.
654         * Makefile.in: Regenerate.
656 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
658         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
659         rather than typed_free_remove.  Remove redudant typedefs.
661 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
663         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
664         than typed_noop_remove.  Remove redudant typedefs.
665         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
666         (plugin_context::mark): Likewise.
668 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
670         * Makefile.in: Regenerated with automake-1.11.6.
671         * aclocal.m4: Likewise.
672         * configure: Likewise.
674 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
676         * plugin.cc: Adjust for hash_table changes.
678 2015-04-15  Andreas Schwab  <schwab@suse.de>
680         PR bootstrap/65763
681         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
682         * Makefile.in: Regenerated.
684 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
686         * plugin.cc: All callers of fatal_error changed to pass
687         input_location as first argument.
689 2015-01-09  Michael Collison  <michael.collison@linaro.org>
691         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
692         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
693         due to flattening of tree.h.
695 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
697         PR bootstrap/63784
698         * configure: Regenerated.
700 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
702         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
703         * configure: Regenerate.
704         * connection.cc: Include <string.h>.
705         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
707 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
709         PR target/63610
710         * configure: Regenerate.
712 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
714         PR bootstrap/63699
715         PR bootstrap/63750
716         * plugin.cc: Don't include <string>.
718 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
719             Phil Muldoon  <pmuldoon@redhat.com>
721         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
722         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
723         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
724         (WERROR_FLAG): Remove.
725         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
726         * configure: Regenerated.
727         * Makefile.in: Regenerated.
729 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
731         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
732         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
733         New variables.
734         (libiberty): Set to -Wc, followed by the first existing noasan/,
735         pic/ or . libiberty.a.
736         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
737         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
738         * Makefile.in: Regenerated.
740 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
741             Jan Kratochvil  <jan.kratochvil@redhat.com>
742             Tom Tromey  <tromey@redhat.com>
744         * aclocal.m4: New file.
745         * callbacks.cc: New file.
746         * callbacks.hh: New file.
747         * cc1plugin-config.h.in: New file.
748         * configure: New file.
749         * configure.ac: New file.
750         * connection.cc: New file.
751         * connection.hh: New file.
752         * findcomp.cc: New file.
753         * findcomp.hh: New file.
754         * libcc1.cc: New file.
755         * libcc1plugin.sym: New file.
756         * libcc1.sym: New file.
757         * Makefile.am: New file.
758         * Makefile.in: New file.
759         * marshall.cc: New file.
760         * marshall.hh: New file.
761         * names.cc: New file.
762         * names.hh: New file.
763         * plugin.cc: New file.
764         * rpc.hh: New file.
765         * status.hh: New file.