Skip analyzer socket tests on hppa*-*-hpux*
[official-gcc.git] / libcc1 / ChangeLog
blob3582cf620500c70006a04616c759150e32e94351
1 2023-11-16  Tom Tromey  <tom@tromey.com>
3         * libcc1plugin.cc (plugin_build_enum_type): Set
4         ENUM_UNDERLYING_TYPE.
6 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
8         * configure: Regenerate.
10 2023-08-11  Joseph Myers  <joseph@codesourcery.com>
12         * configure: Regenerate.
14 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
16         * configure: Regenerate.
18 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
20         * configure: Regenerate.
22 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
24         * configure: Regenerate.
26 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
28         * configure: Regenerate.
30 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
32         * configure: Regenerate.
34 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
36         * configure: Regenerate.
38 2023-05-18  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
40         * libcc1plugin.cc (plugin_float_type): Ditto.
41         * libcp1plugin.cc (plugin_reactivate_decl): Ditto.
42         (plugin_get_float_type): Ditto.
44 2022-11-01  Nathan Sidwell  <nathan@acm.org>
46         * libcp1plugin.cc (plugin_start_lambda_closure_class_type):
47         Initialize the per-scope, per-signature discriminator.
49 2022-11-01  Nathan Sidwell  <nathan@acm.org>
51         * libcp1plugin.cc (plugin_start_closure): Adjust.
53 2022-10-12  Martin Liska  <mliska@suse.cz>
55         * configure: Regenerate.
57 2022-10-11  Olivier Hainque  <hainque@adacore.com>
58             Olivier Hainque  <hainque@adacore.com>
60         * configure: Regenerate.
62 2022-06-27  Sergei Trofimovich  <siarheit@google.com>
64         PR c++/106102
65         * libcc1plugin.cc: Include <memory> via "system.h".
66         * libcp1plugin.cc: Ditto.
68 2022-06-01  David Seifert  <soap@gentoo.org>
70         PR plugins/95648
71         * configure: Regenerate.
73 2021-12-16  Patrick Palka  <ppalka@redhat.com>
75         PR c++/51577
76         PR c++/83035
77         PR c++/100465
78         * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
79         build_x_unary_op.
80         (plugin_build_binary_expr): Adjust call to build_x_binary_op.
82 2021-12-15  Iain Sandoe  <iain@sandoe.co.uk>
84         * configure: Regenerate.
86 2021-08-17  Iain Sandoe  <iain@sandoe.co.uk>
88         * Makefile.am: Switch mdynamic-no-pic to fPIC.
89         * Makefile.in: Regenerated.
91 2021-06-28  Martin Sebor  <msebor@redhat.com>
93         * libcp1plugin.cc (record_decl_address): Replace a direct use
94         of TREE_NO_WARNING with suppress_warning.
96 2021-05-05  Tom Tromey  <tom@tromey.com>
98         * compiler.cc (make_regexp): Take const std::string.
99         (cc1_plugin::compiler_triplet_regexp::find): Update.
101 2021-05-05  Tom Tromey  <tom@tromey.com>
103         PR c/94669
104         * compiler.hh (compiler_driver_filename): Take const char *.
105         (compiler_triplet_regexp): Likewise.
107 2021-05-05  Tom Tromey  <tom@tromey.com>
109         * rpc.hh (argument_wrapper) <get>: Replace cast operator.
110         (argument_wrapper<T *>) <get>: Likewise.
111         (unmarshall): Add std::tuple overloads.
112         (callback): Remove.
113         (class invoker): New.
114         * libcp1plugin.cc (plugin_init): Update.
115         * libcp1.cc (libcp1::add_callbacks): Update.
116         * libcc1plugin.cc (plugin_init): Update.
117         * libcc1.cc (libcc1::add_callbacks): Update.
118         * connection.cc (cc1_plugin::connection::do_wait): Update.
120 2021-05-05  Tom Tromey  <tom@tromey.com>
122         * gdbctx.hh (do_compile): Use std::vector.
124 2021-05-05  Tom Tromey  <tom@tromey.com>
126         * libcp1.cc (libcp1): Change parameters.  Update.
127         (libcp1_set_verbose, libcp1_set_arguments)
128         (libcp1_set_triplet_regexp, libcp1_set_driver_filename)
129         (libcp1_set_source_file, libcp1_set_print_callback, fork_exec)
130         (libcp1_compile, libcp1_destroy, vtable): Remove.
131         (libcp1::add_callbacks): New method, extracted from
132         libcp1_compile.
133         (gcc_c_fe_context): Update.
134         * libcc1.cc (libcc1): Change parameters.  Update.
135         (libcc1_set_verbose, libcc1_set_arguments)
136         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
137         (libcc1_set_source_file, libcc1_set_print_callback, fork_exec)
138         (libcc1_compile, libcc1_destroy, vtable): Remove.
139         (libcc1::add_callbacks): New method, extracted from
140         libcc1_compile.
141         (gcc_c_fe_context): Update.
142         * gdbctx.hh (base_gdb_plugin): Change parameters.
143         (~base_gdb_plugin): New.
144         <add_callbacks>: New virtual method.
145         <plugin_name, fe_version, compiler_name, vtable>: New members.
146         (get_self, do_set_verbose, do_set_arguments)
147         (do_set_triplet_regexp, do_set_driver_filename)
148         (do_set_arguments_v0, do_set_source_file, do_set_print_callback)
149         (fork_exec, do_compile, do_compile_v0, do_destroy): New methods.
151 2021-05-05  Tom Tromey  <tom@tromey.com>
153         * libcp1.cc (vtable): Use GCC_FE_VERSION_1.
155 2021-05-05  Tom Tromey  <tom@tromey.com>
157         * libcp1.cc (struct libcp1): Derive from base_gdb_plugin.  Remove
158         shared code.
159         (class libcp1_connection): Remove.
160         (rpc): Remove.
161         (libcp1_set_verbose, libcp1_compile): Update.
162         (cp_call_binding_oracle, cp_call_symbol_address)
163         (cp_call_enter_scope, cp_call_leave_scope): Update.
164         * libcc1.cc (struct libcc1): Derive from base_gdb_plugin.  Remove
165         shared code.
166         (class libcc1_connection): Remove.
167         (c_call_binding_oracle, c_call_symbol_address): Update.
168         (rpc): Remove.
169         (libcc1_set_verbose, libcc1_compile): Update.
170         * gdbctx.hh: New file.
172 2021-05-05  Tom Tromey  <tom@tromey.com>
174         * libcc1plugin.cc: Move code to context.cc.
175         * libcp1plugin.cc: Move code to context.cc.
176         * context.hh: New file.
177         * context.cc: New file.
178         * Makefile.in: Rebuild.
179         * Makefile.am (AM_CPPFLAGS): Add more gcc flags.
180         (CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): Update.
181         (libcc1plugin_la_SOURCES): Add context.hh, context.cc.
182         (libcp1plugin_la_SOURCES): Likewise.
184 2021-05-05  Tom Tromey  <tom@tromey.com>
186         * libcp1plugin.cc: Use static assert.
188 2021-05-05  Tom Tromey  <tom@tromey.com>
190         * libcp1plugin.cc (plugin_context::mark): Use foreach.
191         * libcc1plugin.cc (plugin_context::mark): Use foreach.
193 2021-05-05  Tom Tromey  <tom@tromey.com>
195         * libcp1.cc (compiler, compiler_triplet_regexp)
196         (compiler_driver_filename): Remove.
197         (libcp1::libcp1): Update.
198         (make_regexp, libcp1::compiler::find)
199         (libcp1::compiler_triplet_regexp::find)
200         (libcp1::compiler_driver_filename::find): Remove.
201         (libcp1_set_verbose, libcp1_set_arguments)
202         (libcp1_set_triplet_regexp, libcp1_set_driver_filename): Update.
203         * libcc1.cc (compiler, compiler_triplet_regexp)
204         (compiler_driver_filename): Remove.
205         (libcc1::libcc1): Update.
206         (make_regexp, libcc1::compiler::find)
207         (libcc1::compiler_triplet_regexp::find)
208         (libcc1::compiler_driver_filename::find): Remove.
209         (libcc1_set_verbose, libcc1_set_arguments)
210         (libcc1_set_triplet_regexp, libcc1_set_driver_filename): Update.
211         * compiler.cc: New file.
212         * compiler.hh: New file.
213         * Makefile.in: Rebuild.
214         * Makefile.am (libcc1_la_SOURCES): Add compiler.hh, compiler.cc.
216 2021-05-05  Tom Tromey  <tom@tromey.com>
218         * libcp1.cc (struct libcp1) <connection, compilerp>: Use
219         unique_ptr.
220         (~libcp1): Remove.
221         (libcp1_compile, libcp1_set_triplet_regexp)
222         (libcp1_set_driver_filename): Update.
223         * libcc1.cc (struct libcc1) <connection, compilerp>: Use
224         unique_ptr.
225         (~libcc1): Remove.
226         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
227         (libcc1_compile): Update.
229 2021-05-05  Tom Tromey  <tom@tromey.com>
231         * rpc.hh (deleter): Move template and some specializations to
232         deleter.hh.
233         (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
234         * marshall.cc (cc1_plugin::unmarshall): Use
235         cc1_plugin::unique_ptr.
236         * marshall-cp.hh (deleter): New specializations.
237         (unmarshall): Use cc1_plugin::unique_ptr.
238         * deleter.hh: New file.
240 2021-05-05  Tom Tromey  <tom@tromey.com>
242         * rpc.hh (struct deleter): New template class and
243         specializations.
244         (argument_wrapper): Remove specializations.  Add specialization
245         for any pointer type.
247 2021-05-05  Tom Tromey  <tom@tromey.com>
249         * libcp1plugin.cc (plugin_build_function_type): Use std::vector.
250         * libcc1plugin.cc (plugin_build_function_type): Use std::vector.
252 2021-05-05  Tom Tromey  <tom@tromey.com>
254         * libcp1.cc (rpc): Use variadic template.  Remove overloads.
255         * libcc1.cc (rpc): Use variadic template.  Remove overloads.
257 2021-05-05  Tom Tromey  <tom@tromey.com>
259         * rpc.hh (call): Use variadic template.  Remove overloads.
260         * marshall.hh (marshall): Add base overload.  Use variadic
261         template.
263 2021-05-05  Tom Tromey  <tom@tromey.com>
265         * rpc.hh (argument_wrapper): Use delete for copy constructor.
266         * connection.hh (class connection): Use delete for copy
267         constructor.
268         * callbacks.hh (class callbacks): Use delete for copy constructor.
270 2021-05-05  Tom Tromey  <tom@tromey.com>
272         * connection.hh (~connection): Use default.
273         (print): Inline.
274         * connection.cc (cc1_plugin::connection::~connection)
275         (cc1_plugin::connection::print): Remove definitions.
277 2021-05-05  Tom Tromey  <tom@tromey.com>
279         * libcp1.cc (class compiler_triplet_regexp)
280         (class compiler_driver_filename, class libcp1_connection): Use
281         "override".
282         * libcc1.cc (class compiler_triplet_regexp)
283         (class compiler_driver_filename, class libcc1_connection): Use
284         "override".
286 2021-05-05  Tom Tromey  <tom@tromey.com>
288         * marshall.hh (cc1_plugin::unmarshall): Use type traits.
289         * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
290         * marshall-c.hh: Remove.
291         * libcc1plugin.cc: Update includes.
292         * libcc1.cc: Update includes.
294 2021-05-03  H.J. Lu  <hjl.tools@gmail.com>
296         PR bootstrap/99703
297         * configure: Regenerated.
299 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
301         * configure: Re-generate.
303 2020-12-18  Jakub Jelinek  <jakub@redhat.com>
305         PR bootstrap/98380
306         * configure.ac: Set darwin_dynamic_lookup=no instead to empty
307         string.
308         * configure: Regenerated.
310 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
312         PR target/97865
313         * Makefile.am: Add dynamic_lookup to LD flags for Darwin.
314         * configure.ac: Test for Darwin host and set a flag.
315         * Makefile.in: Regenerate.
316         * configure: Regenerate.
318 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
320         * configure: Regenerate.
322 2020-11-11  Patrick Palka  <ppalka@redhat.com>
324         PR c++/88115
325         * libcp1plugin.cc (plugin_build_unary_expr): Pass true to
326         cxx_sizeof_or_alignof_expr.
328 2020-11-10  Marek Polacek  <polacek@redhat.com>
330         PR c++/97518
331         * libcp1plugin.cc (plugin_add_static_assert): Pass false to
332         finish_static_assert.
334 2020-11-06  Nathan Sidwell  <nathan@acm.org>
336         * libcc1plugin.cc (address_rewriter): Rename
337         DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
338         * libcp1plugin.cc (supplement_binding): Likewise.
340 2020-10-14  Nathan Sidwell  <nathan@acm.org>
342         * libcp1plugin.cc (plugin_add_friend): Set DECL_UNIQUE_FRIEND_P.
344 2020-10-07  Nathan Sidwell  <nathan@acm.org>
346         * libcp1plugin.cc (supplement_binding): Rename
347         DECL_BUILTIN_P.
349 2020-10-02  Nathan Sidwell  <nathan@acm.org>
351         * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
353 2020-09-25  Nathan Sidwell  <nathan@acm.org>
355         * libcp1plugin.cc (supplement_binding): Use DECL_BULTIN_P.
357 2020-09-24  Nathan Sidwell  <nathan@acm.org>
359         * libcp1plugin.cc (supplement_binding): Drop default args to
360         duplicate_decls.
361         (safe_pushtag): Drop scope parm.  Drop default args to pushtag.
362         (safe_pushdecl_maybe_friend): Rename to ...
363         (safe_pushdecl): ... here. Drop is_friend parm.  Drop default args
364         to pushdecl.
365         (plugin_build_decl): Adjust safe_pushdecl & safe_pushtag calls.
366         (plugin_build_constant): Adjust safe_pushdecl call.
368 2020-09-10  Nathan Sidwell  <nathan@acm.org>
370         * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P.
372 2020-08-14  Nathan Sidwell  <nathan@acm.org>
374         * libcp1plugin.cc (plugin_build_dependent_expr): Rename
375         lookup_name_real call.
377 2020-08-14  Nathan Sidwell  <nathan@acm.org>
379         * libcp1plugin.cc (plugin_build_dependent_exp): Adjust
380         lookup_name_real call.
382 2020-08-14  Nathan Sidwell  <nathan@acm.org>
384         * libcp1plugin.cc (plugin_build_dependent_expr): Adjust
385         lookup_name_real & lookup_qualified_name calls.
387 2020-08-13  Nathan Sidwell  <nathan@acm.org>
389         * libcp1plugin.cc (plugin_build_dependent_expr): Likewise.
391 2020-07-30  H.J. Lu  <hjl.tools@gmail.com>
393         PR bootstrap/96202
394         * configure: Regenerated.
396 2020-06-30  Nathan Sidwell  <nathan@acm.org>
398         * libcp1plugin.cc (plugin_build_decl): Adjust clone_function_decl
399         call.
401 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
403         PR bootstrap/95413
404         * configure: Regenerated.
406 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
408         * configure: Regenerated.
410 2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
412         * Makefile.am (AM_CXXFLAGS): Add $(CET_HOST_FLAGS).
413         * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
414         AC_SUBST(CET_HOST_FLAGS).
415         * Makefile.in: Regenerated.
416         * aclocal.m4: Likewise.
417         * configure: Likewise.
419 2020-02-12  Patrick Palka  <ppalka@redhat.com>
421         PR c++/69448
422         PR c++/80471
423         * libcp1plugin.cc (plugin_get_expr_type): No need to explicitly set
424         AUTO_IS_DECLTYPE anymore.
426 2020-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
428         * libcp1plugin.cc (plugin_build_new_expr): Update build_new call.
430 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
432         Update copyright years.
434 2019-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
436         * libcp1plugin.cc (plugin_build_unary_expr): Update delete_sanity
437         call.
439 2019-12-18  Paolo Carlini  <paolo.carlini@oracle.com>
441         * libcp1plugin.cc (plugin_build_unary_expr): Update build_throw
442         and cxx_sizeof_or_alignof_expr calls.
443         (plugin_build_unary_type_expr): Likewise for
444         cxx_sizeof_or_alignof_type.
446 2019-12-09  Paolo Carlini  <paolo.carlini@oracle.com>
448         * libcp1plugin.cc (plugin_build_cast_expr): Adjust build_cast
449         declaration.
451 2019-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
453         * libcp1plugin.cc (plugin_build_expression_list_expr): Adjust
454         build_functional_cast call.
456 2019-11-25  Paolo Carlini  <paolo.carlini@oracle.com>
458         * libcp1plugin.cc (plugin_pragma_push_user_expression): Update
459         cp_build_indirect_ref call.
461 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
463         * configure: Regenerate.
465 2019-05-21  Nathan Sidwell  <nathan@acm.org>
467         * libcp1plugin.cc (plugin_add_using_decl): Use
468         finish_nonmember_using_decl.
470 2019-05-20  Nathan Sidwell  <nathan@acm.org>
472         * libcp1plugin.cc (plugin_add_using_namespace): Call renamed
473         finish_using_directive.
475 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
477         Update copyright years.
479 2018-11-13  David Malcolm  <dmalcolm@redhat.com>
481         * libcc1plugin.cc: Replace "source_location" with "location_t".
482         (plugin_context::get_source_location): Rename to...
483         (plugin_context::get_location_t): ...this.
484         * libcp1plugin.cc: Likewise.
486 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
488         PR bootstrap/82856
489         * configure.ac: Remove AC_PREREQ.
490         * Makefile.in, aclocal.m4, configure: Regenerate.
492 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
494         PR jit/85384
495         * configure: Regenerate.
497 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
499         Update copyright years.
501 2017-11-14 Boris Kolpackov  <boris@codesynthesis.com>
503         * configure: Regenerate.
505 2017-11-16  Sergio Durigan Junior  <sergiodj@redhat.com>
506             Pedro Alves  <palves@redhat.com>
508         * Makefile.am: Remove references to c-compiler-name.h and
509         cp-compiler-name.h
510         * Makefile.in: Regenerate.
511         * compiler-name.hh: New file.
512         * libcc1.cc: Don't include c-compiler-name.h.  Include
513         compiler-name.hh.
514         * libcp1.cc: Don't include cp-compiler-name.h.  Include
515         compiler-name.hh.
517 2017-11-01  Nathan Sidwell  <nathan@acm.org>
519         * libcp1plugin.cc (plugin_build_decl): Use
520         DECL_OVERLOADED_OPERATOR_CODE_RAW.
522 2017-10-31  Nathan Sidwell  <nathan@acm.org>
524         * libcp1plugin.cc (plugin_build_decl): Use ovl_op_identifier.
525         Directly set operator code.
526         (plugin_build_dependent_expr): Use ovl_op_identifier.
528 2017-10-04  Nathan Sidwell  <nathan@acm.org>
530         * libcp1plugin.cc (supplement_binding): Don't use
531         maybe_remove_implicit_alias.
533 2017-07-20  Nathan Sidwell  <nathan@acm.org>
535         Remove TYPE_METHODS.
536         * libcp1plugin.cc (plugin_build_decl): Member fns are on TYPE_FIELDS.
538 2017-07-12  Nathan Sidwell  <nathan@acm.org>
540         * libcp1plugin.cc (plugin_build_decl): Use
541         DECL_CXX_{CON,DE}STRUCTOR directly.
543 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
545         * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
547 2017-06-30  Nathan Sidwell  <nathan@acm.org>
549         * libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
550         (plugin_build_dependent_expr): Likewise.
552 2017-06-26  Nathan Sidwell  <nathan@acm.org>
554         * libcp1plugin.cc (plugin_build_decl): Don't set
555         DECL_ASSIGNMENT_OPERATOR_P.
557 2017-06-16  Nathan Sidwell  <nathan@acm.org>
559         * libcp1plugin.cc (plugin_build_decl): Adjust parm building.
561 2017-05-26  Nathan Sidwell  <nathan@acm.org>
563         * libcp1plugin.cc (plugin_make_namespace_inline): Push onto linees.
565         * libcp1plugin.cc (plugin_add_using_namespace): Call
566         finish_namespace_using_directive.
568 2017-05-25  Nathan Sidwell  <nathan@acm.org>
570         * libcp1plugin.cc (plugin_make_namespace_inline): Check and set
571         DECL_NAMESPACE_INLINE_P.
573 2017-05-23  Nathan Sidwell  <nathan@acm.org>
575         * libcp1plugin.cc (plugin_add_using_decl): Call
576         finish_namespace_using_decl.  Use assert not unreachable.
578 2017-05-11  Nathan Sidwell  <nathan@acm.org>
580         * libcp1plugin.cc (safe_pushdecl_maybe_friend): Call pushdecl.
582 2017-05-10  Nathan Sidwell  <nathan@acm.org>
584         * libcp1plugin.cc (plugin_build_decl): Adjust add_method call.
586 2017-04-15  Alexandre Oliva <aoliva@redhat.com>
588         * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type.
590 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
592         Introduce C++ support.
593         * Makefile.am (AM_CPPFLAGS): Move some -I flags to...
594         (CPPFLAGS_FOR_C_FAMILY, CPPFLAGS_FOR_C, CPPFLAGS_FOR_CXX): ...
595         new macros.
596         (plugin_LTLIBRARIES): Add libcp1plugin.la.
597         (BUILT_SOURCES, MOSTLYCLEANFILES): Add...
598         (cp-compiler-name.h): ... this.  New.
599         (c-compiler-name.h): Rename all over from...
600         (compiler-name.h): ... this.  Create it atomically.
601         (marshall_c_source, marshall_cxx_source): New macros.
602         (libcc1plugin_la_SOURCES): Rename plugin.cc to libcc1plugin.cc.
603         Add marshall_c_source expansion.
604         (libcc1plugin.lo_CPPFLAGS): New macro.
605         (libcp1plugin_la_LDFLAGS): Likewise.
606         (libcp1plugin_la_SOURCES): Likewise.
607         (libcp1plugin.lo_CPPFLAGS): Likewise.
608         (libcp1plugin_la_LIBADD): Likewise.
609         (libcp1plugin_la_DEPENDENCIES): Likewise.
610         (libcp1plugin_la_LINK): Likewise.
611         (libcc1_la_SOURCES): Added marshall_c_source and
612         marshall_cxx_source expansions.
613         * Makefile.in: Rebuild.
614         * compiler-name.h: Rename all over to...
615         * c-compiler-name.h: ... this.  Define C_COMPILER_NAME instead
616         of COMPILER_NAME.
617         * plugin.cc: Rename all over to...
618         * libcc1plugin.cc: ... this.  Include marshall-c.hh.
619         (address_rewriter): Drop cleaning up of VLA sizes.
620         (plugin_build_decl): Mark decls as external.
621         (plugin_tagbind): Propagate name to all variants.
622         (build_anonymous_node): New.
623         (plugin_build_record_type): Use it instead of make_node.
624         (plugin_build_union_type): Likewise.
625         (plugin_build_enum_type): Likewise.
626         (plugin_finish_record_or_union): Update all type variants.
627         (safe_lookup_builtin_type): New.
628         (plugin_int_check): Factor out of, and add checks to, ...
629         (plugin_int_type): ... this.  Rename to...
630         (plugin_int_type_v0): ... this.
631         (plugin_int_type): New interface, new implementation.
632         (plugin_char_type): New.
633         (plugin_float_type_v0): Rename from...
634         (plugin_float_type): ... this.  New interface, new implementation.
635         (plugin_init): Bump handshake version.
636         * libcc1.cc: Include marshall-c.hh.  Drop gcc-interface.h.
637         (call_binding_oracle): Rename to...
638         (c_call_binding_oracle): ... this, into anonymous namespace.
639         (call_symbol_address): Rename to...
640         (c_call_symbol_address): ... this, likewise.
641         (GCC_METHOD#): Move methods into cc1plugin::c:: namespace.
642         (libcc1::compiler::find): Refer to C_COMPILER_NAME.
643         (fork_exec): Bump to GCC_C_FE_VERSION_1.
644         (libcc1_compile): Prefix callbacks with c_.
645         (gcc_c_fe_context): Accept GCC_C_FE_VERSION_1.
646         * libcc1.sym: Export gcc_cp_fe_context.
647         * libcp1.cc: New, mostly copied and adjusted from libcc1.cc.
648         * libcp1plugin.cc: New, initially copied from libcc1plugin.cc.
649         * libcp1plugin.sym: New.
650         * marshall-c.hh: New.  Move C-specific types from...
651         * marshall.cc: ... this.
652         (cc1_plugin::marshall_array_start): New.
653         (cc1_plugin::marshall_array_elmts): New.
654         (cc1_plugin::marshall for gcc_type_array): Use the above.
655         (cc1_plugin::unmarshall_array_start): New.
656         (cc1_plugin::unmarshall_array_elmts): New.
657         (cc1_plugin::unmarshall for gcc_type_array): Use the above.
658         * marshall.hh: Declare the new array building blocks.
659         Drop C-specific unmarshall declarations.
660         * marshall-cp.hh: New.
661         * names.cc (GCC_METHOD#): Add LANG:: to method names.
662         (LANG): Define while including gcc-c-fe.def and gcc-cp-fe.def.
663         * names.hh: Include gcc-c-fe.def and gcc-cp-fe.def in the
664         corresponding namespaces.
665         * rpc.hh: Don't include marshall.hh.
666         [GCC_CP_INTERFACE_H] (argument_wrapper): Specialize for
667         gcc_vbase_array, gcc_cp_template_args, gcc_cp_function_args.
669 2017-01-30  Jan Kratochvil <jan.kratochvil@redhat.com>
671         * findcomp.cc: Include system.h.
672         (search_dir): Return absolute filename.
674         * libcc1.cc (libcc1): Add class compiler with field compilerp,
675         class compiler_triplet_regexp and class
676         compiler_driver_filename.
677         (libcc1::libcc1): Initialize compilerp.
678         (libcc1::~libcc1): Delete compilerp.
679         (libcc1::compiler::find, libcc1::compiler_triplet_regexp::find)
680         (libcc1::compiler_driver_filename::find): New methods.
681         (libcc1_set_arguments): Remove parameter triplet_regexp.
682         (libcc1_set_triplet_regexp, libcc1_set_driver_filename)
683         (libcc1_set_arguments_v0): New functions.
684         (vtable): Use libcc1_set_arguments_v0, add
685         libcc1_set_arguments, libcc1_set_triplet_regexp and
686         libcc1_set_driver_filename.
688         * libcc1.cc: Include intl.h.
689         (struct libcc1): Add field verbose.
690         (libcc1::libcc1): Initialize it.
691         (libcc1_set_verbose): New function.
692         (libcc1_set_arguments): Print messages for VERBOSE.
693         (libcc1_compile): Remove parameter verbose.  Use VERBOSE from
694         SELF.
695         (libcc1_compile_v0): New function.
696         (vtable): Use libcc1_compile_v0 and add libcc1_compile and
697         libcc1_set_verbose.
699         * libcc1.cc (vtable): Update to GCC_FE_VERSION_1.
700         (gcc_c_fe_context): Accept also GCC_FE_VERSION_1.
702 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
704         PR other/79046
705         * configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
706         use just major number from BASE-VER.
707         * configure: Regenerated.
708         * Makefile.in: Regenerated.
710 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
712         Update copyright years.
714 2016-11-18  Richard Sandiford  <richard.sandiford@arm.com>
715             Alan Hayward  <alan.hayward@arm.com>
716             David Sherwood  <david.sherwood@arm.com>
718         * plugin.cc (plugin_build_add_field): Use SET_DECL_MODE.
720 2016-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
722         Update copyrights.
724 2016-04-18  Michael Matz  <matz@suse.de>
726         * plugin.cc (plugin_finish_record_or_union): Use SET_TYPE_ALIGN.
728 2016-04-11  Segher Boessenkool  <segher@kernel.crashing.org>
730         PR bootstrap/70173
731         * Makefile.am (MOSTLYCLEANFILES): New, add compiler-name.h .
732         (compiler-name.h): Shorten recipe so that it fits the line.
733         * Makefile.in: Regenerate.
735 2016-03-14  Andreas Schwab  <schwab@suse.de>
737         * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
738         * configure: Regenerate.
739         * Makefile.in: Regenerate.
741 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
743         * plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
744         rather than typed_free_remove.  Remove redudant typedefs.
746 2015-06-25  Richard Sandiford  <richard.sandiford@arm.com>
748         * plugin.cc (string_hasher): Inherit from nofree_ptr_hash rather
749         than typed_noop_remove.  Remove redudant typedefs.
750         (plugin_context): Use nofree_ptr_hash rather than pointer_hash.
751         (plugin_context::mark): Likewise.
753 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
755         * Makefile.in: Regenerated with automake-1.11.6.
756         * aclocal.m4: Likewise.
757         * configure: Likewise.
759 2015-04-18  Trevor Saunders  <tsaunders@mozilla.com>
761         * plugin.cc: Adjust for hash_table changes.
763 2015-04-15  Andreas Schwab  <schwab@suse.de>
765         PR bootstrap/65763
766         * Makefile.am (gcc_build_dir): Remove $(host_subdir)/ part.
767         * Makefile.in: Regenerated.
769 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
771         * plugin.cc: All callers of fatal_error changed to pass
772         input_location as first argument.
774 2015-01-09  Michael Collison  <michael.collison@linaro.org>
776         * plugin.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
777         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
778         due to flattening of tree.h.
780 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
782         PR bootstrap/63784
783         * configure: Regenerated.
785 2014-11-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
787         * configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
788         * configure: Regenerate.
789         * connection.cc: Include <string.h>.
790         * libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
792 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
794         PR target/63610
795         * configure: Regenerate.
797 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
799         PR bootstrap/63699
800         PR bootstrap/63750
801         * plugin.cc: Don't include <string>.
803 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
804             Phil Muldoon  <pmuldoon@redhat.com>
806         * configure.ac: Remove -Werror addition to WARN_FLAGS.  Add
807         ACX_PROG_CC_WARNINGS_ARE_ERRORS and AC_ARG_VAR for GMPINC.
808         * Makefile.am (AM_CPPFLAGS): Add $(GMPINC).
809         (WERROR_FLAG): Remove.
810         (AM_CXXFLAGS): Use $(WERROR) instead of $(WERROR_FLAG).
811         * configure: Regenerated.
812         * Makefile.in: Regenerated.
814 2014-10-29  Jakub Jelinek  <jakub@redhat.com>
816         * Makefile.am (CXXFLAGS, LDFLAGS): Filter out -fsanitize=address.
817         (libiberty_normal, libiberty_noasan, libiberty_pic, libiberty_dep):
818         New variables.
819         (libiberty): Set to -Wc, followed by the first existing noasan/,
820         pic/ or . libiberty.a.
821         (libcc1plugin_la_DEPENDENCIES, libcc1plugin_la_LINK,
822         libcc1_la_DEPENDENCIES, libcc1_la_LINK, LTLDFLAGS): New variables.
823         * Makefile.in: Regenerated.
825 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
826             Jan Kratochvil  <jan.kratochvil@redhat.com>
827             Tom Tromey  <tromey@redhat.com>
829         * aclocal.m4: New file.
830         * callbacks.cc: New file.
831         * callbacks.hh: New file.
832         * cc1plugin-config.h.in: New file.
833         * configure: New file.
834         * configure.ac: New file.
835         * connection.cc: New file.
836         * connection.hh: New file.
837         * findcomp.cc: New file.
838         * findcomp.hh: New file.
839         * libcc1.cc: New file.
840         * libcc1plugin.sym: New file.
841         * libcc1.sym: New file.
842         * Makefile.am: New file.
843         * Makefile.in: New file.
844         * marshall.cc: New file.
845         * marshall.hh: New file.
846         * names.cc: New file.
847         * names.hh: New file.
848         * plugin.cc: New file.
849         * rpc.hh: New file.
850         * status.hh: New file.