Remove several xfails for 32-bit hppa*-*-*
[official-gcc.git] / libcc1 / ChangeLog
blob746e3c48d0cbf96ac2f45497d9ced60c64965cd9
1 2024-01-09  waffl3x  <waffl3x@protonmail.com>
2             Jason Merrill  <jason@redhat.com>
4         PR c++/102609
5         * libcp1plugin.cc (plugin_pragma_push_user_expression): Don't use
6         DECL_NONSTATIC_MEMBER_FUNCTION_P.
8 2023-12-06  David Malcolm  <dmalcolm@redhat.com>
10         * context.cc (plugin_print_error_function): Make diagnostic_info
11         param const.
13 2023-11-16  Tom Tromey  <tom@tromey.com>
15         * libcc1plugin.cc (plugin_build_enum_type): Set
16         ENUM_UNDERLYING_TYPE.
18 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
20         * configure: Regenerate.
22 2023-08-11  Joseph Myers  <joseph@codesourcery.com>
24         * configure: Regenerate.
26 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
28         * configure: Regenerate.
30 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
32         * configure: Regenerate.
34 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
36         * configure: Regenerate.
38 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
40         * configure: Regenerate.
42 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
44         * configure: Regenerate.
46 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
48         * configure: Regenerate.
50 2023-05-18  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
52         * libcc1plugin.cc (plugin_float_type): Ditto.
53         * libcp1plugin.cc (plugin_reactivate_decl): Ditto.
54         (plugin_get_float_type): Ditto.
56 2022-11-01  Nathan Sidwell  <nathan@acm.org>
58         * libcp1plugin.cc (plugin_start_lambda_closure_class_type):
59         Initialize the per-scope, per-signature discriminator.
61 2022-11-01  Nathan Sidwell  <nathan@acm.org>
63         * libcp1plugin.cc (plugin_start_closure): Adjust.
65 2022-10-12  Martin Liska  <mliska@suse.cz>
67         * configure: Regenerate.
69 2022-10-11  Olivier Hainque  <hainque@adacore.com>
70             Olivier Hainque  <hainque@adacore.com>
72         * configure: Regenerate.
74 2022-06-27  Sergei Trofimovich  <siarheit@google.com>
76         PR c++/106102
77         * libcc1plugin.cc: Include <memory> via "system.h".
78         * libcp1plugin.cc: Ditto.
80 2022-06-01  David Seifert  <soap@gentoo.org>
82         PR plugins/95648
83         * configure: Regenerate.
85 2021-12-16  Patrick Palka  <ppalka@redhat.com>
87         PR c++/51577
88         PR c++/83035
89         PR c++/100465
90         * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
91         build_x_unary_op.
92         (plugin_build_binary_expr): Adjust call to build_x_binary_op.
94 2021-12-15  Iain Sandoe  <iain@sandoe.co.uk>
96         * configure: Regenerate.
98 2021-08-17  Iain Sandoe  <iain@sandoe.co.uk>
100         * Makefile.am: Switch mdynamic-no-pic to fPIC.
101         * Makefile.in: Regenerated.
103 2021-06-28  Martin Sebor  <msebor@redhat.com>
105         * libcp1plugin.cc (record_decl_address): Replace a direct use
106         of TREE_NO_WARNING with suppress_warning.
108 2021-05-05  Tom Tromey  <tom@tromey.com>
110         * compiler.cc (make_regexp): Take const std::string.
111         (cc1_plugin::compiler_triplet_regexp::find): Update.
113 2021-05-05  Tom Tromey  <tom@tromey.com>
115         PR c/94669
116         * compiler.hh (compiler_driver_filename): Take const char *.
117         (compiler_triplet_regexp): Likewise.
119 2021-05-05  Tom Tromey  <tom@tromey.com>
121         * rpc.hh (argument_wrapper) <get>: Replace cast operator.
122         (argument_wrapper<T *>) <get>: Likewise.
123         (unmarshall): Add std::tuple overloads.
124         (callback): Remove.
125         (class invoker): New.
126         * libcp1plugin.cc (plugin_init): Update.
127         * libcp1.cc (libcp1::add_callbacks): Update.
128         * libcc1plugin.cc (plugin_init): Update.
129         * libcc1.cc (libcc1::add_callbacks): Update.
130         * connection.cc (cc1_plugin::connection::do_wait): Update.
132 2021-05-05  Tom Tromey  <tom@tromey.com>
134         * gdbctx.hh (do_compile): Use std::vector.
136 2021-05-05  Tom Tromey  <tom@tromey.com>
138         * libcp1.cc (libcp1): Change parameters.  Update.
139         (libcp1_set_verbose, libcp1_set_arguments)
140         (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
141         (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
142         (libcp1_compile, libcp1_destroy, vtable): Remove.
143         (libcp1::add_callbacks): New method, extracted from
144         libcp1_compile.
145         (gcc_c_fe_context): Update.
146         * libcc1.cc (libcc1): Change parameters.  Update.
147         (libcc1_set_verbose, libcc1_set_arguments)
148         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
149         (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
150         (libcc1_compile, libcc1_destroy, vtable): Remove.
151         (libcc1::add_callbacks): New method, extracted from
152         libcc1_compile.
153         (gcc_c_fe_context): Update.
154         * gdbctx.hh (base_gdb_plugin): Change parameters.
155         (~base_gdb_plugin): New.
156         <add_callbacks>: New virtual method.
157         <plugin_name, fe_version, compiler_name, vtable>: New members.
158         (get_self, do_set_verbose, do_set_arguments)
159         (do_set_triplet_regexp, do_set_driver_filename)
160         (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
161         (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
163 2021-05-05  Tom Tromey  <tom@tromey.com>
165         * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
167 2021-05-05  Tom Tromey  <tom@tromey.com>
169         * libcp1.cc (struct libcp1): Derive from base_gdb_plugin.  Remove
170         shared code.
171         (class libcp1_connection): Remove.
172         (rpc): Remove.
173         (libcp1_set_verbose, libcp1_compile): Update.
174         (cp_call_binding_oracle, cp_call_symbol_address)
175         (cp_call_enter_scope, cp_call_leave_scope): Update.
176         * libcc1.cc (struct libcc1): Derive from base_gdb_plugin.  Remove
177         shared code.
178         (class libcc1_connection): Remove.
179         (c_call_binding_oracle, c_call_symbol_address): Update.
180         (rpc): Remove.
181         (libcc1_set_verbose, libcc1_compile): Update.
182         * gdbctx.hh: New file.
184 2021-05-05  Tom Tromey  <tom@tromey.com>
186         * libcc1plugin.cc: Move code to context.cc.
187         * libcp1plugin.cc: Move code to context.cc.
188         * context.hh: New file.
189         * context.cc: New file.
190         * Makefile.in: Rebuild.
191         * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
192         (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
193         (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
194         (libcp1plugin_la_SOURCES): Likewise.
196 2021-05-05  Tom Tromey  <tom@tromey.com>
198         * libcp1plugin.cc: Use static assert.
200 2021-05-05  Tom Tromey  <tom@tromey.com>
202         * libcp1plugin.cc (plugin_context::mark): Use foreach.
203         * libcc1plugin.cc (plugin_context::mark): Use foreach.
205 2021-05-05  Tom Tromey  <tom@tromey.com>
207         * libcp1.cc (compiler, compiler_triplet_regexp)
208         (compiler_driver_filename): Remove.
209         (libcp1::libcp1): Update.
210         (make_regexp, libcp1::compiler::find)
211         (libcp1::compiler_triplet_regexp::find)
212         (libcp1::compiler_driver_filename::find): Remove.
213         (libcp1_set_verbose, libcp1_set_arguments)
214         (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
215         * libcc1.cc (compiler, compiler_triplet_regexp)
216         (compiler_driver_filename): Remove.
217         (libcc1::libcc1): Update.
218         (make_regexp, libcc1::compiler::find)
219         (libcc1::compiler_triplet_regexp::find)
220         (libcc1::compiler_driver_filename::find): Remove.
221         (libcc1_set_verbose, libcc1_set_arguments)
222         (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
223         * compiler.cc: New file.
224         * compiler.hh: New file.
225         * Makefile.in: Rebuild.
226         * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
228 2021-05-05  Tom Tromey  <tom@tromey.com>
230         * libcp1.cc (struct libcp1) <connection, compilerp>: Use
231         unique_ptr.
232         (~libcp1): Remove.
233         (libcp1_compile, libcp1_set_triplet_regexp)
234         (libcp1_set_driver_filename): Update.
235         * libcc1.cc (struct libcc1) <connection, compilerp>: Use
236         unique_ptr.
237         (~libcc1): Remove.
238         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
239         (libcc1_compile): Update.
241 2021-05-05  Tom Tromey  <tom@tromey.com>
243         * rpc.hh (deleter): Move template and some specializations to
244         deleter.hh.
245         (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
246         * marshall.cc (cc1_plugin::unmarshall): Use
247         cc1_plugin::unique_ptr.
248         * marshall-cp.hh (deleter): New specializations.
249         (unmarshall): Use cc1_plugin::unique_ptr.
250         * deleter.hh: New file.
252 2021-05-05  Tom Tromey  <tom@tromey.com>
254         * rpc.hh (struct deleter): New template class and
255         specializations.
256         (argument_wrapper): Remove specializations.  Add specialization
257         for any pointer type.
259 2021-05-05  Tom Tromey  <tom@tromey.com>
261         * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
262         * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
264 2021-05-05  Tom Tromey  <tom@tromey.com>
266         * libcp1.cc (rpc): Use variadic template.  Remove overloads.
267         * libcc1.cc (rpc): Use variadic template.  Remove overloads.
269 2021-05-05  Tom Tromey  <tom@tromey.com>
271         * rpc.hh (call): Use variadic template.  Remove overloads.
272         * marshall.hh (marshall): Add base overload.  Use variadic
273         template.
275 2021-05-05  Tom Tromey  <tom@tromey.com>
277         * rpc.hh (argument_wrapper): Use delete for copy constructor.
278         * connection.hh (class connection): Use delete for copy
279         constructor.
280         * callbacks.hh (class callbacks): Use delete for copy constructor.
282 2021-05-05  Tom Tromey  <tom@tromey.com>
284         * connection.hh (~connection): Use default.
285         (print): Inline.
286         * connection.cc (cc1_plugin::connection::~connection)
287         (cc1_plugin::connection::print): Remove definitions.
289 2021-05-05  Tom Tromey  <tom@tromey.com>
291         * libcp1.cc (class compiler_triplet_regexp)
292         (class compiler_driver_filename, class libcp1_connection): Use
293         "override".
294         * libcc1.cc (class compiler_triplet_regexp)
295         (class compiler_driver_filename, class libcc1_connection): Use
296         "override".
298 2021-05-05  Tom Tromey  <tom@tromey.com>
300         * marshall.hh (cc1_plugin::unmarshall): Use type traits.
301         * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
302         * marshall-c.hh: Remove.
303         * libcc1plugin.cc: Update includes.
304         * libcc1.cc: Update includes.
306 2021-05-03  H.J. Lu  <hjl.tools@gmail.com>
308         PR bootstrap/99703
309         * configure: Regenerated.
311 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
313         * configure: Re-generate.
315 2020-12-18  Jakub Jelinek  <jakub@redhat.com>
317         PR bootstrap/98380
318         * configure.ac: Set darwin_dynamic_lookup=no instead to empty
319         string.
320         * configure: Regenerated.
322 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
324         PR target/97865
325         * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
326         * configure.ac: Test for Darwin host and set a flag.
327         * Makefile.in: Regenerate.
328         * configure: Regenerate.
330 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
332         * configure: Regenerate.
334 2020-11-11  Patrick Palka  <ppalka@redhat.com>
336         PR c++/88115
337         * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
338         cxx_sizeof_or_alignof_expr.
340 2020-11-10  Marek Polacek  <polacek@redhat.com>
342         PR c++/97518
343         * libcp1plugin.cc (plugin_add_static_assert): Pass false to
344         finish_static_assert.
346 2020-11-06  Nathan Sidwell  <nathan@acm.org>
348         * libcc1plugin.cc (address_rewriter): Rename
349         DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
350         * libcp1plugin.cc (supplement_binding): Likewise.
352 2020-10-14  Nathan Sidwell  <nathan@acm.org>
354         * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
356 2020-10-07  Nathan Sidwell  <nathan@acm.org>
358         * libcp1plugin.cc (supplement_binding): Rename
359         DECL_BUILTIN_P.
361 2020-10-02  Nathan Sidwell  <nathan@acm.org>
363         * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
365 2020-09-25  Nathan Sidwell  <nathan@acm.org>
367         * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
369 2020-09-24  Nathan Sidwell  <nathan@acm.org>
371         * libcp1plugin.cc (supplement_binding): Drop default args to
372         duplicate_decls.
373         (safe_pushtag): Drop scope parm.  Drop default args to pushtag.
374         (safe_pushdecl_maybe_friend): Rename to ...
375         (safe_pushdecl): ... here. Drop is_friend parm.  Drop default args
376         to pushdecl.
377         (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
378         (plugin_build_constant): Adjust safe_pushdecl call.
380 2020-09-10  Nathan Sidwell  <nathan@acm.org>
382         * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
384 2020-08-14  Nathan Sidwell  <nathan@acm.org>
386         * libcp1plugin.cc (plugin_build_dependent_expr): Rename
387         lookup_name_real call.
389 2020-08-14  Nathan Sidwell  <nathan@acm.org>
391         * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
392         lookup_name_real call.
394 2020-08-14  Nathan Sidwell  <nathan@acm.org>
396         * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
397         lookup_name_real & lookup_qualified_name calls.
399 2020-08-13  Nathan Sidwell  <nathan@acm.org>
401         * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
403 2020-07-30  H.J. Lu  <hjl.tools@gmail.com>
405         PR bootstrap/96202
406         * configure: Regenerated.
408 2020-06-30  Nathan Sidwell  <nathan@acm.org>
410         * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
411         call.
413 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
415         PR bootstrap/95413
416         * configure: Regenerated.
418 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
420         * configure: Regenerated.
422 2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
424         * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
425         * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
426         AC_SUBST(CET_HOST_FLAGS).
427         * Makefile.in: Regenerated.
428         * aclocal.m4: Likewise.
429         * configure: Likewise.
431 2020-02-12  Patrick Palka  <ppalka@redhat.com>
433         PR c++/69448
434         PR c++/80471
435         * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
436         AUTO_IS_DECLTYPE anymore.
438 2020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
440         * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
442 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
444         Update copyright years.
446 2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
448         * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
449         call.
451 2019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
453         * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
454         and cxx_sizeof_or_alignof_expr calls.
455         (plugin_build_unary_type_expr): Likewise for
456         cxx_sizeof_or_alignof_type.
458 2019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
460         * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
461         declaration.
463 2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
465         * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
466         build_functional_cast call.
468 2019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
470         * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
471         cp_build_indirect_ref call.
473 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
475         * configure: Regenerate.
477 2019-05-21  Nathan Sidwell  <nathan@acm.org>
479         * libcp1plugin.cc (plugin_add_using_decl): Use
480         finish_nonmember_using_decl.
482 2019-05-20  Nathan Sidwell  <nathan@acm.org>
484         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
485         finish_using_directive.
487 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
489         Update copyright years.
491 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
493         * libcc1plugin.cc: Replace "source_location" with "location_t".
494         (plugin_context::get_source_location): Rename to...
495         (plugin_context::get_location_t): ...this.
496         * libcp1plugin.cc: Likewise.
498 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
500         PR bootstrap/82856
501         * configure.ac: Remove AC_PREREQ.
502         * Makefile.in, aclocal.m4, configure: Regenerate.
504 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
506         PR jit/85384
507         * configure: Regenerate.
509 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
511         Update copyright years.
513 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
515         * configure: Regenerate.
517 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
518             Pedro Alves  <palves@redhat.com>
520         * Makefile.am: Remove references to c-compiler-name.h and
521         cp-compiler-name.h
522         * Makefile.in: Regenerate.
523         * compiler-name.hh: New file.
524         * libcc1.cc: Don't include c-compiler-name.h.  Include
525         compiler-name.hh.
526         * libcp1.cc: Don't include cp-compiler-name.h.  Include
527         compiler-name.hh.
529 2017-11-01  Nathan Sidwell  <nathan@acm.org>
531         * libcp1plugin.cc (plugin_build_decl): Use
532         DECL_OVERLOADED_OPERATOR_CODE_RAW.
534 2017-10-31  Nathan Sidwell  <nathan@acm.org>
536         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
537         Directly set operator code.
538         (plugin_build_dependent_expr): Use ovl_op_identifier.
540 2017-10-04  Nathan Sidwell  <nathan@acm.org>
542         * libcp1plugin.cc (supplement_binding): Don't use
543         maybe_remove_implicit_alias.
545 2017-07-20  Nathan Sidwell  <nathan@acm.org>
547         Remove TYPE_METHODS.
548         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
550 2017-07-12  Nathan Sidwell  <nathan@acm.org>
552         * libcp1plugin.cc (plugin_build_decl): Use
553         DECL_CXX_{CON,DE}STRUCTOR directly.
555 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
557         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
559 2017-06-30  Nathan Sidwell  <nathan@acm.org>
561         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
562         (plugin_build_dependent_expr): Likewise.
564 2017-06-26  Nathan Sidwell  <nathan@acm.org>
566         * libcp1plugin.cc (plugin_build_decl): Don't set
567         DECL_ASSIGNMENT_OPERATOR_P.
569 2017-06-16  Nathan Sidwell  <nathan@acm.org>
571         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
573 2017-05-26  Nathan Sidwell  <nathan@acm.org>
575         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
577         * libcp1plugin.cc (plugin_add_using_namespace): Call
578         finish_namespace_using_directive.
580 2017-05-25  Nathan Sidwell  <nathan@acm.org>
582         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
583         DECL_NAMESPACE_INLINE_P.
585 2017-05-23  Nathan Sidwell  <nathan@acm.org>
587         * libcp1plugin.cc (plugin_add_using_decl): Call
588         finish_namespace_using_decl.  Use assert not unreachable.
590 2017-05-11  Nathan Sidwell  <nathan@acm.org>
592         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
594 2017-05-10  Nathan Sidwell  <nathan@acm.org>
596         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
598 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
600         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
602 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
604         Introduce C++ support.
605         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
606         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
607         new macros.
608         (plugin_LTLIBRARIES): Add libcp1plugin.la.
609         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
610         (cp-compiler-name.h): ... this.  New.
611         (c-compiler-name.h): Rename all over from...
612         (compiler-name.h): ... this.  Create it atomically.
613         (marshall_c_source, marshall_cxx_source): New macros.
614         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
615         Add marshall_c_source expansion.
616         (libcc1plugin.lo_CPPFLAGS): New macro.
617         (libcp1plugin_la_LDFLAGS): Likewise.
618         (libcp1plugin_la_SOURCES): Likewise.
619         (libcp1plugin.lo_CPPFLAGS): Likewise.
620         (libcp1plugin_la_LIBADD): Likewise.
621         (libcp1plugin_la_DEPENDENCIES): Likewise.
622         (libcp1plugin_la_LINK): Likewise.
623         (libcc1_la_SOURCES): Added marshall_c_source and
624         marshall_cxx_source expansions.
625         * Makefile.in: Rebuild.
626         * compiler-name.h: Rename all over to...
627         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
628         of COMPILER_NAME.
629         * plugin.cc: Rename all over to...
630         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
631         (address_rewriter): Drop cleaning up of VLA sizes.
632         (plugin_build_decl): Mark decls as external.
633         (plugin_tagbind): Propagate name to all variants.
634         (build_anonymous_node): New.
635         (plugin_build_record_type): Use it instead of make_node.
636         (plugin_build_union_type): Likewise.
637         (plugin_build_enum_type): Likewise.
638         (plugin_finish_record_or_union): Update all type variants.
639         (safe_lookup_builtin_type): New.
640         (plugin_int_check): Factor out of, and add checks to, ...
641         (plugin_int_type): ... this.  Rename to...
642         (plugin_int_type_v0): ... this.
643         (plugin_int_type): New interface, new implementation.
644         (plugin_char_type): New.
645         (plugin_float_type_v0): Rename from...
646         (plugin_float_type): ... this.  New interface, new implementation.
647         (plugin_init): Bump handshake version.
648         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
649         (call_binding_oracle): Rename to...
650         (c_call_binding_oracle): ... this, into anonymous namespace.
651         (call_symbol_address): Rename to...
652         (c_call_symbol_address): ... this, likewise.
653         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
654         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
655         (fork_exec): Bump to GCC_C_FE_VERSION_1.
656         (libcc1_compile): Prefix callbacks with c_.
657         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
658         * libcc1.sym: Export gcc_cp_fe_context.
659         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
660         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
661         * libcp1plugin.sym: New.
662         * marshall-c.hh: New.  Move C-specific types from...
663         * marshall.cc: ... this.
664         (cc1_plugin::marshall_array_start): New.
665         (cc1_plugin::marshall_array_elmts): New.
666         (cc1_plugin::marshall for gcc_type_array): Use the above.
667         (cc1_plugin::unmarshall_array_start): New.
668         (cc1_plugin::unmarshall_array_elmts): New.
669         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
670         * marshall.hh: Declare the new array building blocks.
671         Drop C-specific unmarshall declarations.
672         * marshall-cp.hh: New.
673         * names.cc (GCC_METHOD#): Add LANG:: to method names.
674         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
675         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
676         corresponding namespaces.
677         * rpc.hh: Don't include marshall.hh.
678         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
679         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
681 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
683         * findcomp.cc: Include system.h.
684         (search_dir): Return absolute filename.
686         * libcc1.cc (libcc1): Add class compiler with field compilerp,
687         class compiler_triplet_regexp and class
688         compiler_driver_filename.
689         (libcc1::libcc1): Initialize compilerp.
690         (libcc1::~libcc1): Delete compilerp.
691         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
692         (libcc1::compiler_driver_filename::find): New methods.
693         (libcc1_set_arguments): Remove parameter triplet_regexp.
694         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
695         (libcc1_set_arguments_v0): New functions.
696         (vtable): Use libcc1_set_arguments_v0, add
697         libcc1_set_arguments, libcc1_set_triplet_regexp and
698         libcc1_set_driver_filename.
700         * libcc1.cc: Include intl.h.
701         (struct libcc1): Add field verbose.
702         (libcc1::libcc1): Initialize it.
703         (libcc1_set_verbose): New function.
704         (libcc1_set_arguments): Print messages for VERBOSE.
705         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
706         SELF.
707         (libcc1_compile_v0): New function.
708         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
709         libcc1_set_verbose.
711         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
712         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
714 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
716         PR other/79046
717         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
718         use just major number from BASE-VER.
719         * configure: Regenerated.
720         * Makefile.in: Regenerated.
722 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
724         Update copyright years.
726 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
727             Alan Hayward  <alan.hayward@arm.com>
728             David Sherwood  <david.sherwood@arm.com>
730         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
732 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
734         Update copyrights.
736 2016-04-18  Michael Matz  <matz@suse.de>
738         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
740 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
742         PR bootstrap/70173
743         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
744         (compiler-name.h): Shorten recipe so that it fits the line.
745         * Makefile.in: Regenerate.
747 2016-03-14  Andreas Schwab  <schwab@suse.de>
749         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
750         * configure: Regenerate.
751         * Makefile.in: Regenerate.
753 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
755         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
756         rather than typed_free_remove.  Remove redudant typedefs.
758 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
760         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
761         than typed_noop_remove.  Remove redudant typedefs.
762         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
763         (plugin_context::mark): Likewise.
765 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
767         * Makefile.in: Regenerated with automake-1.11.6.
768         * aclocal.m4: Likewise.
769         * configure: Likewise.
771 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
773         * plugin.cc: Adjust for hash_table changes.
775 2015-04-15  Andreas Schwab  <schwab@suse.de>
777         PR bootstrap/65763
778         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
779         * Makefile.in: Regenerated.
781 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
783         * plugin.cc: All callers of fatal_error changed to pass
784         input_location as first argument.
786 2015-01-09  Michael Collison  <michael.collison@linaro.org>
788         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
789         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
790         due to flattening of tree.h.
792 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
794         PR bootstrap/63784
795         * configure: Regenerated.
797 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
799         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
800         * configure: Regenerate.
801         * connection.cc: Include <string.h>.
802         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
804 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
806         PR target/63610
807         * configure: Regenerate.
809 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
811         PR bootstrap/63699
812         PR bootstrap/63750
813         * plugin.cc: Don't include <string>.
815 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
816             Phil Muldoon  <pmuldoon@redhat.com>
818         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
819         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
820         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
821         (WERROR_FLAG): Remove.
822         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
823         * configure: Regenerated.
824         * Makefile.in: Regenerated.
826 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
828         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
829         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
830         New variables.
831         (libiberty): Set to -Wc, followed by the first existing noasan/,
832         pic/ or . libiberty.a.
833         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
834         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
835         * Makefile.in: Regenerated.
837 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
838             Jan Kratochvil  <jan.kratochvil@redhat.com>
839             Tom Tromey  <tromey@redhat.com>
841         * aclocal.m4: New file.
842         * callbacks.cc: New file.
843         * callbacks.hh: New file.
844         * cc1plugin-config.h.in: New file.
845         * configure: New file.
846         * configure.ac: New file.
847         * connection.cc: New file.
848         * connection.hh: New file.
849         * findcomp.cc: New file.
850         * findcomp.hh: New file.
851         * libcc1.cc: New file.
852         * libcc1plugin.sym: New file.
853         * libcc1.sym: New file.
854         * Makefile.am: New file.
855         * Makefile.in: New file.
856         * marshall.cc: New file.
857         * marshall.hh: New file.
858         * names.cc: New file.
859         * names.hh: New file.
860         * plugin.cc: New file.
861         * rpc.hh: New file.
862         * status.hh: New file.